| 1 | <?php |
||
| 12 | class OneToManyRelation extends AbstractRelation implements RelationInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected $entities; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $references; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var bool |
||
| 26 | */ |
||
| 27 | protected $removeReferenced; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param array $data |
||
| 31 | */ |
||
| 32 | 4 | public function __construct(array $data) |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return array |
||
| 49 | */ |
||
| 50 | 2 | public function getEntities() |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @return array |
||
| 57 | */ |
||
| 58 | 2 | public function getReferences() |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @return boolean |
||
| 65 | */ |
||
| 66 | 3 | public function isRemoveReferenced() |
|
| 70 | } |
||
| 71 |