1 | <?php |
||
5 | class TestReference |
||
6 | { |
||
7 | /** @var int */ |
||
8 | private $id; |
||
9 | /** @var string */ |
||
10 | private $referencePayload; |
||
11 | /** @var TestEntity */ |
||
12 | private $owner; |
||
13 | |||
14 | /** |
||
15 | * @return int |
||
16 | */ |
||
17 | public function getId() |
||
21 | |||
22 | /** |
||
23 | * @return TestEntity |
||
24 | */ |
||
25 | public function getOwner() |
||
29 | |||
30 | /** |
||
31 | * @param TestEntity $owner |
||
32 | */ |
||
33 | public function setOwner(TestEntity $owner = null) |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getReferencePayload() |
||
53 | } |
||
54 |