Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class ExceptionHandlerConfig extends AbstractConfig |
||
11 | { |
||
12 | public const IS_DEBUG = 'is.debug'; |
||
13 | |||
14 | public const SHUTDOWN_IF_ERROR = 'shutdown.if.error'; |
||
15 | |||
16 | /** |
||
17 | * @return bool |
||
18 | */ |
||
19 | 1 | public function isDebug(): bool |
|
20 | { |
||
21 | 1 | return $this->get(self::IS_DEBUG, false); |
|
|
|||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @return bool |
||
26 | */ |
||
27 | 1 | public function shutdownIfError(): bool |
|
30 | } |
||
31 | } |