| 1 | <?php |
||
| 11 | class OneToMany extends Relation |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Owner constructor. |
||
| 15 | * |
||
| 16 | * @param string $name |
||
| 17 | * @param string $class |
||
| 18 | * @param string $opponent |
||
| 19 | */ |
||
| 20 | 7 | public function __construct($name, $class, $opponent) |
|
| 26 | |||
| 27 | /** {@inheritdoc} */ |
||
| 28 | 8 | public function fetch(Entity $me, EntityManager $entityManager) |
|
| 44 | |||
| 45 | /** {@inheritdoc} */ |
||
| 46 | 6 | public function addJoin(EntityFetcher $fetcher, $join, $alias) |
|
| 55 | } |
||
| 56 |