| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class ExceptionRegistrar implements ExceptionRegistrarInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var \Xervice\ExceptionHandler\Business\Model\Register\RegisterCollection |
||
| 11 | */ |
||
| 12 | private $register; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var bool |
||
| 16 | */ |
||
| 17 | private $isDebug; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * ExceptionRegistrar constructor. |
||
| 21 | * |
||
| 22 | * @param \Xervice\ExceptionHandler\Business\Model\Register\RegisterCollection $register |
||
| 23 | * @param bool $isDebug |
||
| 24 | */ |
||
| 25 | 1 | public function __construct(RegisterCollection $register, bool $isDebug) |
|
| 26 | { |
||
| 27 | 1 | $this->register = $register; |
|
| 28 | 1 | $this->isDebug = $isDebug; |
|
| 29 | 1 | } |
|
| 30 | |||
| 31 | 1 | public function register(): void |
|
| 35 | } |
||
| 36 | } |
||
| 37 | } |