1 | <?php |
||
19 | class DoctrineObjectHydratorAbstractFactory implements AbstractFactoryInterface |
||
20 | { |
||
21 | /** |
||
22 | * Флаг определяет была ли инициализированна фабрика |
||
23 | * |
||
24 | * @var bool |
||
25 | */ |
||
26 | protected $isInit = false; |
||
27 | |||
28 | /** |
||
29 | * Контейнер для создания DoctrineObjectHydrator |
||
30 | * |
||
31 | * @var DoctrineObjectHydratorLocatorInterface |
||
32 | */ |
||
33 | protected $doctrineObjectHydratorLocator; |
||
34 | |||
35 | /** |
||
36 | * Инициализация фабрики |
||
37 | * |
||
38 | * @param ServiceLocatorInterface $serviceLocator |
||
39 | * |
||
40 | * @return boolean; |
||
|
|||
41 | * |
||
42 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
43 | */ |
||
44 | protected function init(ServiceLocatorInterface $serviceLocator) |
||
63 | |||
64 | /** |
||
65 | * @inheritdoc |
||
66 | * |
||
67 | * @param ServiceLocatorInterface $serviceLocator |
||
68 | * @param $name |
||
69 | * @param $requestedName |
||
70 | * |
||
71 | * @return bool |
||
72 | * |
||
73 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
74 | */ |
||
75 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
||
80 | |||
81 | /** |
||
82 | * @inheritdoc |
||
83 | * |
||
84 | * @param ServiceLocatorInterface $serviceLocator |
||
85 | * @param $name |
||
86 | * @param $requestedName |
||
87 | * |
||
88 | * @return DoctrineObject |
||
89 | * |
||
90 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
91 | * @throws \Interop\Container\Exception\NotFoundException |
||
92 | * @throws \Interop\Container\Exception\ContainerException |
||
93 | */ |
||
94 | public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
||
99 | |||
100 | /** |
||
101 | * Возвращает контейнер для создания DoctrineObjectHydrator |
||
102 | * |
||
103 | * @return DoctrineObjectHydratorLocatorInterface |
||
104 | */ |
||
105 | public function getDoctrineObjectHydratorLocator() |
||
109 | |||
110 | /** |
||
111 | * Устанавливает контейнер для создания DoctrineObjectHydrator |
||
112 | * |
||
113 | * @param DoctrineObjectHydratorLocatorInterface $doctrineObjectHydratorLocator |
||
114 | * |
||
115 | * @return $this |
||
116 | */ |
||
117 | public function setDoctrineObjectHydratorLocator(DoctrineObjectHydratorLocatorInterface $doctrineObjectHydratorLocator) |
||
123 | } |
||
124 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.