PHP Class Zend\Mvc\Service\AbstractPluginManagerFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Show file Open project: zendframework/zend-mvc Class Usage Examples

Public Methods

Method Description
__invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\ServiceManager\AbstractPluginManager Create and return a plugin manager.
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\ServiceManager\AbstractPluginManager Create and return AbstractPluginManager instance

Method Details

__invoke() public method

Classes that extend this should provide a valid class for the PLUGIN_MANGER_CLASS constant.
public __invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\ServiceManager\AbstractPluginManager
$container Interop\Container\ContainerInterface
$name string
$options array
return Zend\ServiceManager\AbstractPluginManager

createService() public method

For use with zend-servicemanager v2; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\ServiceManager\AbstractPluginManager
$container Zend\ServiceManager\ServiceLocatorInterface
return Zend\ServiceManager\AbstractPluginManager