1 | <?php namespace Limoncello\Application\Packages\Monolog; |
||
26 | class MonologFileSettings implements SettingsInterface |
||
27 | { |
||
28 | /** Settings key */ |
||
29 | const KEY_IS_ENABLED = 0; |
||
30 | |||
31 | /** Settings key */ |
||
32 | const KEY_LOG_PATH = self::KEY_IS_ENABLED + 1; |
||
33 | |||
34 | /** Settings key */ |
||
35 | const KEY_LOG_FOLDER = self::KEY_LOG_PATH + 1; |
||
36 | |||
37 | /** Settings key */ |
||
38 | const KEY_LOG_FILE = self::KEY_LOG_FOLDER + 1; |
||
39 | |||
40 | /** Settings key */ |
||
41 | const KEY_LOG_LEVEL = self::KEY_LOG_FILE + 1; |
||
42 | |||
43 | /** Settings key */ |
||
44 | protected const KEY_LAST = self::KEY_LOG_LEVEL; |
||
45 | |||
46 | /** |
||
47 | * @var array |
||
48 | */ |
||
49 | private $appConfig; |
||
50 | |||
51 | /** |
||
52 | * @inheritdoc |
||
53 | */ |
||
54 | 1 | final public function get(array $appConfig): array |
|
72 | |||
73 | /** |
||
74 | * @return array |
||
75 | */ |
||
76 | 1 | protected function getSettings(): array |
|
88 | |||
89 | /** |
||
90 | * @return mixed |
||
91 | */ |
||
92 | 1 | protected function getAppConfig() |
|
96 | } |
||
97 |