| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class DebugPrinter implements ExceptionPrinterInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var bool |
||
| 12 | */ |
||
| 13 | private $isDebug; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * DebugPrinter constructor. |
||
| 17 | * |
||
| 18 | * @param bool $isDebug |
||
| 19 | */ |
||
| 20 | 1 | public function __construct(bool $isDebug) |
|
| 23 | 1 | } |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param \Exception $exception |
||
| 27 | */ |
||
| 28 | 1 | public function printExeption(\Exception $exception): void |
|
| 37 | } |