1 | <?php |
||
16 | class ConnectionStatusDelegatorFactory implements DelegatorFactoryInterface |
||
|
|||
17 | { |
||
18 | /** |
||
19 | * A factory that creates delegates of a given service. |
||
20 | * |
||
21 | * @param ContainerInterface $container |
||
22 | * @param string $name |
||
23 | * @param callable $callback |
||
24 | * @param null|array $options |
||
25 | * |
||
26 | * @throws ServiceNotFoundException if unable to resolve the service |
||
27 | * @throws ServiceNotCreatedException if an exception is raised when |
||
28 | * creating a service |
||
29 | * @throws ContainerException if any other error occurs |
||
30 | * |
||
31 | * @return object |
||
32 | */ |
||
33 | 1 | public function __invoke(ContainerInterface $container, $name, callable $callback, array $options = null) |
|
43 | |||
44 | /** |
||
45 | * A factory that creates delegates of a given service. |
||
46 | * |
||
47 | * @param ServiceLocatorInterface $serviceLocator the service locator which requested the service |
||
48 | * @param string $name the normalized service name |
||
49 | * @param string $requestedName the requested service name |
||
50 | * @param callable $callback the callback that is responsible for creating the service |
||
51 | * |
||
52 | * @return \PamiModule\Service\Client |
||
53 | */ |
||
54 | 1 | public function createDelegatorWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName, $callback) |
|
58 | } |
||
59 |
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.