Zend Framework
3.0
|
Backwards-compatibility shim for FactoryInterface. More...
Public Member Functions | |
createService (ServiceLocatorInterface $serviceLocator) | |
Create service. | |
Public Member Functions inherited from FactoryInterface | |
__invoke (ContainerInterface $container, $requestedName, array $options=null) | |
Create an object. | |
Backwards-compatibility shim for FactoryInterface.
Implementations should update to implement only Zend.
If upgrading from v2, take the following steps:
Once you have tested your code, you can then update your class to only implement Zend, and remove the `createService()` method.
createService | ( | ServiceLocatorInterface | $serviceLocator | ) |
Create service.
ServiceLocatorInterface | $serviceLocator |
Implemented in ServiceListenerFactory, ModuleManagerFactory, ConsoleAdapterFactory, ViewResolverFactory, ViewTemplatePathStackFactory, EventManagerFactory, AnnotationBuilderFactory, DiFactory, SeparatorToSeparatorFactory, ViewTemplateMapResolverFactory, TranslatorFactory, HttpRouterFactory, ControllerManagerFactory, HttpMethodListenerFactory, ViewPrefixPathStackResolverFactory, ForwardFactory, ApplicationFactory, ConfigFactory, InjectTemplateListenerFactory, AbstractPluginManagerFactory, HttpRouteNotFoundStrategyFactory, ViewJsonStrategyFactory, DiStrictAbstractServiceFactoryFactory, TranslatorServiceFactory, HttpDefaultRenderingStrategyFactory, HttpExceptionStrategyFactory, ConsoleViewManagerFactory, LoggerServiceFactory, ViewFactory, ViewFeedStrategyFactory, ConsoleExceptionStrategyFactory, DiAbstractServiceFactoryFactory, LoaderPluginManagerFactory, ConsoleRouterFactory, ViewPhpRendererFactory, ConsoleRouteNotFoundStrategyFactory, DispatchListenerFactory, HttpViewManagerFactory, RequestFactory, ResponseFactory, ViewManagerFactory, ViewPhpRendererStrategyFactory, IdentityFactory, RoutePluginManagerFactory, DiServiceInitializerFactory, AdapterServiceFactory, StorageCacheFactory, and DelegatingHydratorFactory.