1 | <?php |
||
9 | class AdapterChainServiceFactory implements FactoryInterface |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var ModuleOptions |
||
14 | */ |
||
15 | protected $options; |
||
16 | |||
17 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
38 | |||
39 | |||
40 | /** |
||
41 | * set options |
||
42 | * |
||
43 | * @param ModuleOptions $options |
||
44 | * @return AdapterChainServiceFactory |
||
45 | */ |
||
46 | public function setOptions(ModuleOptions $options) |
||
51 | |||
52 | /** |
||
53 | * get options |
||
54 | * |
||
55 | * @param ServiceLocatorInterface $serviceLocator (optional) Service Locator |
||
56 | * @return ModuleOptions $options |
||
57 | * @throws OptionsNotFoundException If options tried to retrieve without being set but no SL was provided |
||
58 | */ |
||
59 | public function getOptions(ServiceLocatorInterface $serviceLocator = null) |
||
74 | } |
||
75 |