1 | <?php |
||
12 | trait ObjectItemTrait |
||
13 | { |
||
14 | use MagicMapTrait; |
||
15 | |||
16 | /** @var ObjectItem[] */ |
||
17 | protected $__nestedObjects; |
||
18 | protected $__documentPath; |
||
19 | protected $__fromRef; |
||
20 | |||
21 | public function getNestedObject($className) { |
||
27 | |||
28 | public function setNestedProperty($propertyName, $value, Egg $nestedEgg) |
||
42 | |||
43 | protected $__additionalPropertyNames; |
||
44 | public function addAdditionalPropertyName($name) |
||
48 | |||
49 | /** |
||
50 | * @return null|string[] |
||
51 | */ |
||
52 | public function getAdditionalPropertyNames() |
||
56 | |||
57 | protected $__patternPropertyNames; |
||
58 | |||
59 | public function addPatternPropertyName($pattern, $name) |
||
63 | |||
64 | /** |
||
65 | * @param $pattern |
||
66 | * @return null|string[] |
||
67 | */ |
||
68 | public function getPatternPropertyNames($pattern) |
||
76 | |||
77 | public function jsonSerialize() |
||
91 | |||
92 | /** |
||
93 | * @return string |
||
94 | */ |
||
95 | public function getDocumentPath() |
||
99 | |||
100 | /** |
||
101 | * @return string |
||
102 | */ |
||
103 | public function getFromRef() |
||
107 | } |