@@ 239-242 (lines=4) @@ | ||
236 | $this->reflClass = $reflService->getClass($this->name); |
|
237 | $this->instantiator = $this->instantiator ?: new Instantiator(); |
|
238 | ||
239 | foreach ($this->fields as $field => $mapping) { |
|
240 | $class = array_key_exists('declared', $mapping) ? $mapping['declared'] : $this->name; |
|
241 | $this->reflFields[$field] = $reflService->getAccessibleProperty($class, $field); |
|
242 | } |
|
243 | ||
244 | foreach ($this->associations as $field => $mapping) { |
|
245 | $class = array_key_exists('declared', $mapping) ? $mapping['declared'] : $this->name; |
|
@@ 244-247 (lines=4) @@ | ||
241 | $this->reflFields[$field] = $reflService->getAccessibleProperty($class, $field); |
|
242 | } |
|
243 | ||
244 | foreach ($this->associations as $field => $mapping) { |
|
245 | $class = array_key_exists('declared', $mapping) ? $mapping['declared'] : $this->name; |
|
246 | $this->reflFields[$field] = $reflService->getAccessibleProperty($class, $field); |
|
247 | } |
|
248 | } |
|
249 | ||
250 | /** {@inheritdoc} */ |