Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class HandlerStreamConfiguration extends HandlerConfiguration implements HandlerStreamConfigurationInterface |
||
18 | { |
||
19 | protected const CFG_LOG_FILE = 'LOGGER_%s_FILE'; |
||
20 | protected const CFG_USE_LOCKING = 'LOGGER_%s_USE_LOCKING'; |
||
21 | |||
22 | /** |
||
23 | * {@inheritDoc} |
||
24 | */ |
||
25 | 2 | public function getLogFile(): string |
|
30 | 2 | ); |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * {@inheritDoc} |
||
35 | */ |
||
36 | 2 | public function useLocking(): bool |
|
37 | { |
||
38 | 2 | return $this->get(self::CFG_USE_LOCKING, false); |
|
39 | } |
||
40 | |||
41 | 1 | public static function type(): string |
|
42 | { |
||
43 | 1 | return self::TYPE; |
|
44 | } |
||
45 | |||
46 | 1 | public function getHandlerClassName(): string |
|
49 | } |
||
50 | } |
||
51 |