1 | <?php |
||
5 | class ContainerEntity |
||
6 | { |
||
7 | /** |
||
8 | * @var int |
||
9 | */ |
||
10 | protected $plainField; |
||
11 | |||
12 | /** |
||
13 | * @var AssociatedEntity |
||
14 | */ |
||
15 | protected $associatedEntity; |
||
16 | |||
17 | /** |
||
18 | * @var Embeddable\EmbeddedEntity |
||
19 | */ |
||
20 | protected $embeddedEntity; |
||
21 | |||
22 | /** |
||
23 | * @param AssociatedEntity $associatedEntity |
||
24 | * @param Embeddable\EmbeddedEntity $embeddedEntity |
||
25 | */ |
||
26 | public function __construct(AssociatedEntity $associatedEntity, Embeddable\EmbeddedEntity $embeddedEntity) |
||
31 | |||
32 | /** |
||
33 | * @return AssociatedEntity |
||
34 | */ |
||
35 | public function getAssociatedEntity() |
||
39 | } |
||
40 |