1 | <?php |
||
22 | class ReferenceMetadata extends PropertyMetadata implements ReferenceMetadataInterface |
||
|
|||
23 | { |
||
24 | /** |
||
25 | * @var string |
||
26 | * @internal |
||
27 | */ |
||
28 | public $refClass; |
||
29 | |||
30 | /** |
||
31 | * @var bool |
||
32 | * @internal |
||
33 | */ |
||
34 | public $array = false; |
||
35 | |||
36 | /** |
||
37 | * @inheritdoc |
||
38 | */ |
||
39 | public function getReferenceClass() |
||
43 | |||
44 | /** |
||
45 | * Sets reference class |
||
46 | * |
||
47 | * @param string $refClass |
||
48 | * @return $this |
||
49 | */ |
||
50 | public function setReferenceClass($refClass) |
||
56 | |||
57 | /** |
||
58 | * @inheritdoc |
||
59 | */ |
||
60 | public function isArray() |
||
64 | |||
65 | /** |
||
66 | * Sets value of flag which show that refrence contains serveral items. |
||
67 | * |
||
68 | * @param bool $isArray |
||
69 | * @return $this |
||
70 | */ |
||
71 | public function setArray($isArray) |
||
77 | } |