| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class UnknownReflectionClass extends \ReflectionClass |
||
| 10 | { |
||
| 11 | protected $unknownClassName; |
||
| 12 | |||
| 13 | public function __construct(string $name) |
||
| 14 | { |
||
| 15 | try { |
||
| 16 | parent::__construct(''); |
||
| 17 | } catch (\ReflectionException $e) { |
||
| 18 | // |
||
| 19 | } |
||
| 20 | |||
| 21 | $this->unknownClassName = $name; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getName() |
||
| 27 | } |
||
| 28 | } |
||
| 29 |