1 | <?php |
||
23 | class ObjectMetadata extends ClassMetadata implements ObjectMetadataInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var PropertyMetadataInterface[] |
||
27 | */ |
||
28 | public $properties = []; |
||
29 | |||
30 | /** |
||
31 | * Returns object properties metadata |
||
32 | * |
||
33 | * @return PropertyMetadataInterface[] |
||
34 | */ |
||
35 | 1 | public function getProperties() |
|
39 | |||
40 | /** |
||
41 | * Adds property metadata |
||
42 | * |
||
43 | * @param PropertyMetadataInterface $metadata |
||
44 | * @return $this |
||
45 | */ |
||
46 | 1 | public function addProperty(PropertyMetadataInterface $metadata) |
|
52 | |||
53 | /** |
||
54 | * @inheritdoc |
||
55 | */ |
||
56 | 1 | public function mergeMetadata($metadata = null) |
|
73 | } |