symphonycms/symphony-2 — pull request #2102 by nitriques (2014-06-19 02:47:05+00:00)
Title: Finding related entries

This as also been discussed in #2085

This proposed change make the fields reponsible for
finding relations. This change takes methods that were
in content.publish.php and moves them to the Field class,
preserving all compatibility.

Reponsability is put in the right container and
Field implementors will now be able to defines their own mecanism
in order to create relationships.

The *right* way to solve this would be via composition of a class that would handle the two methods. But since Field is already a big monolitic class, this is the way to do, IMHO.