1 | <?php |
||
14 | abstract class AbstractFactory implements FactoryInterface |
||
|
|||
15 | { |
||
16 | /** |
||
17 | * @var null|string |
||
18 | */ |
||
19 | protected $name; |
||
20 | |||
21 | /** |
||
22 | * @var \Zend\Stdlib\AbstractOptions |
||
23 | */ |
||
24 | protected $options; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $configKey = 'facile'; |
||
30 | |||
31 | /** |
||
32 | * @param string $name |
||
33 | */ |
||
34 | 2 | public function __construct($name) |
|
38 | |||
39 | /** |
||
40 | * @return null|string |
||
41 | */ |
||
42 | 2 | public function getName() |
|
46 | |||
47 | /** |
||
48 | * Gets options from configuration based on name. |
||
49 | * |
||
50 | * @param ContainerInterface $container |
||
51 | * @param string $key |
||
52 | * @param null|string $name |
||
53 | * |
||
54 | * @return \Zend\Stdlib\AbstractOptions |
||
55 | * @throws \Facile\SentryModule\Exception\RuntimeException |
||
56 | * |
||
57 | * @throws \Interop\Container\Exception\NotFoundException |
||
58 | * @throws \Interop\Container\Exception\ContainerException |
||
59 | */ |
||
60 | 2 | public function getOptions(ContainerInterface $container, $key, $name = null) |
|
81 | |||
82 | /** |
||
83 | * Get the class name of the options associated with this factory. |
||
84 | * |
||
85 | * @abstract |
||
86 | * |
||
87 | * @return string |
||
88 | */ |
||
89 | abstract public function getOptionsClass(); |
||
90 | } |
||
91 |
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.