1 | <?php |
||
12 | class MonologServiceInitializer implements InitializerInterface |
||
|
|||
13 | { |
||
14 | |||
15 | /** |
||
16 | * Initialize |
||
17 | * |
||
18 | * @param $instance |
||
19 | * @param ServiceLocatorInterface $serviceLocator |
||
20 | * @return mixed |
||
21 | */ |
||
22 | 2 | public function initialize($instance, ServiceLocatorInterface $serviceLocator) |
|
23 | { |
||
24 | 2 | $this->setMonologService($serviceLocator, $instance); |
|
25 | 2 | } |
|
26 | |||
27 | /** |
||
28 | * @param ContainerInterface $container |
||
29 | * @param $instance |
||
30 | */ |
||
31 | 3 | public function __invoke(ContainerInterface $container, $instance) |
|
35 | |||
36 | /** |
||
37 | * @param ServiceLocatorInterface|ContainerInterface $container |
||
38 | * @param $instance |
||
39 | */ |
||
40 | 5 | private function setMonologService($container, $instance) |
|
46 | } |
||
47 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.