| Total Complexity | 5 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ExceptionObjectAccess extends ObjectAccess |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var bool |
||
| 17 | */ |
||
| 18 | private $debug; |
||
| 19 | |||
| 20 | public function __construct(bool $debug) |
||
| 21 | { |
||
| 22 | $this->debug = $debug; |
||
| 23 | parent::__construct(true, true); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Excepions are always immutable. |
||
| 28 | * |
||
| 29 | * @param ReflectionClass $reflectionClass |
||
| 30 | * @return array |
||
| 31 | */ |
||
| 32 | protected function getSetterMapping(ReflectionClass $reflectionClass): array |
||
| 35 | } |
||
| 36 | |||
| 37 | protected function getGetterMapping(ReflectionClass $reflectionClass): array |
||
| 62 |