@@ 138-148 (lines=11) @@ | ||
135 | $spec['entity'] = $name; |
|
136 | ||
137 | $events = $this->getEventManager(); |
|
138 | foreach ($annotations as $annotation) { |
|
139 | $events->trigger( |
|
140 | __FUNCTION__, |
|
141 | $this, |
|
142 | [ |
|
143 | 'annotation' => $annotation, |
|
144 | 'spec' => $spec, |
|
145 | 'name' => $name |
|
146 | ] |
|
147 | ); |
|
148 | } |
|
149 | } |
|
150 | ||
151 | /** |
|
@@ 164-174 (lines=11) @@ | ||
161 | ]); |
|
162 | ||
163 | $events = $this->getEventManager(); |
|
164 | foreach ($annotations as $annotation) { |
|
165 | $events->trigger( |
|
166 | __FUNCTION__, |
|
167 | $this, |
|
168 | [ |
|
169 | 'annotation' => $annotation, |
|
170 | 'spec' => $propertySpec, |
|
171 | 'name' => $name |
|
172 | ] |
|
173 | ); |
|
174 | } |
|
175 | ||
176 | if (!isset($spec['properties'])) { |
|
177 | $spec['properties'] = []; |