PHP Class ZF\Apigility\Admin\Model\AbstractPluginManagerModelFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Show file Open project: zfcampus/zf-apigility-admin

Protected Properties

Property Type Description
$pluginManagerModel string
$pluginManagerService string

Public Methods

Method Description
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : mixed Return one of the plugin manager-backed model instance.
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : mixed Return one of the plugin manager-backed model instance (v2).

Method Details

__invoke() public method

Return one of the plugin manager-backed model instance.
public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : mixed
$container Interop\Container\ContainerInterface
$requestedName string
$options array
return mixed A model instance that composes a plugin manager.

createService() public method

Provided for backwards compatibility; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : mixed
$container Zend\ServiceManager\ServiceLocatorInterface
return mixed A model instance that composes a plugin manager.

Property Details

$pluginManagerModel protected property

protected string $pluginManagerModel
return string

$pluginManagerService protected property

protected string $pluginManagerService
return string