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