1: <?php
2:
3: namespace PHPixie\ORM\Maps\Map\Property;
4:
5: class Query extends \PHPixie\ORM\Maps\Map\Property
6: {
7: public function property($query, $propertyName)
8: {
9: $side = $this->get($query->modelName(), $propertyName);
10: $relationship = $this->relationships->get($side->relationshipType());
11:
12: return $relationship->queryProperty($side, $query);
13: }
14: }