1 | <?php |
||
13 | class ClientFactory extends AbstractFactory |
||
14 | { |
||
15 | /** |
||
16 | * @param ContainerInterface $container |
||
17 | * @param string $requestedName |
||
18 | * @param array|null $options |
||
19 | * |
||
20 | * @return Client |
||
21 | * @throws \RuntimeException |
||
22 | * |
||
23 | * @throws \Interop\Container\Exception\NotFoundException |
||
24 | * @throws \Interop\Container\Exception\ContainerException |
||
25 | */ |
||
26 | 2 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
|
49 | |||
50 | /** |
||
51 | * @param ServiceLocatorInterface $serviceLocator |
||
52 | * @return Client |
||
53 | */ |
||
54 | 1 | public function createService(ServiceLocatorInterface $serviceLocator) |
|
58 | |||
59 | /** |
||
60 | * Get the class name of the options associated with this factory. |
||
61 | * |
||
62 | * |
||
63 | * @return string |
||
64 | */ |
||
65 | 2 | public function getOptionsClass() |
|
69 | } |
||
70 |