Example #1
0
 function getQuery(Loader\RelationshipLoader $loader)
 {
     $joinColumn = new JoinColumnRelationship($this->Association, $this->Entity);
     $query = $joinColumn->getQuery($loader);
     $query->Query->Hydration = \ORM\Query::HYDRATE_OBJECT;
     return $query;
 }
Example #2
0
 function getQuery(Loader\RelationshipLoader $loader)
 {
     $joinColumn = new JoinColumnRelationship($this->Entity, $this->Association);
     return $joinColumn->getQuery($loader);
 }