src/Accessor/PropertyAccessor.php 1 location
|
@@ 82-89 (lines=8) @@
|
| 79 |
|
* |
| 80 |
|
* @return \ReflectionProperty |
| 81 |
|
*/ |
| 82 |
|
private function getReflectionProperty(string $class): \ReflectionProperty |
| 83 |
|
{ |
| 84 |
|
try { |
| 85 |
|
return new \ReflectionProperty($class, $this->property); |
| 86 |
|
} catch (\ReflectionException $e) { |
| 87 |
|
throw DeserializerLogicException::createMissingProperty($class, $this->property); |
| 88 |
|
} |
| 89 |
|
} |
| 90 |
|
} |
| 91 |
|
|
src/Doctrine/Accessor/PropertyAccessor.php 1 location
|
@@ 69-76 (lines=8) @@
|
| 66 |
|
* |
| 67 |
|
* @return \ReflectionProperty |
| 68 |
|
*/ |
| 69 |
|
private function getReflectionProperty(string $class): \ReflectionProperty |
| 70 |
|
{ |
| 71 |
|
try { |
| 72 |
|
return new \ReflectionProperty($class, $this->property); |
| 73 |
|
} catch (\ReflectionException $e) { |
| 74 |
|
throw DeserializerLogicException::createMissingProperty($class, $this->property); |
| 75 |
|
} |
| 76 |
|
} |
| 77 |
|
} |
| 78 |
|
|