1 | <?php |
||
10 | class MonologFactory |
||
11 | { |
||
12 | protected static $channelChanger; |
||
13 | |||
14 | protected static $channelName = 'default'; |
||
15 | |||
16 | 2 | public function __invoke(ContainerInterface $container) |
|
22 | |||
23 | 2 | public static function __callStatic($name, $arguments) |
|
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | 2 | public static function getChannelName(): string |
|
46 | |||
47 | /** |
||
48 | * @param string $channelName |
||
49 | */ |
||
50 | 1 | public static function setChannelName(string $channelName) |
|
54 | |||
55 | /** |
||
56 | * @param ContainerInterface $container |
||
57 | * |
||
58 | * @return mixed |
||
59 | */ |
||
60 | 3 | public static function getChannelChanger(ContainerInterface $container): ChannelChanger |
|
71 | |||
72 | /** |
||
73 | * @param ChannelChanger $channelChanger |
||
74 | */ |
||
75 | 4 | public static function setChannelChanger(ChannelChanger $channelChanger) |
|
79 | } |
||
80 |