PHP Class ZfcRbac\Factory\GuardsFactory

Author: MichaĆ«l Gallego ([email protected])
Inheritance: implements Zend\ServiceManager\FactoryInterface
Show file Open project: zf-commons/zfc-rbac Class Usage Examples

Public Methods

Method Description
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : array
createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : ZfcRbac\Guard\GuardInterface[] | array {@inheritDoc}

Method Details

__invoke() public method

public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : array
$container Interop\Container\ContainerInterface
$requestedName string
$options array
return array

createService() public method

{@inheritDoc}
public createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : ZfcRbac\Guard\GuardInterface[] | array
$serviceLocator Zend\ServiceManager\ServiceLocatorInterface
return ZfcRbac\Guard\GuardInterface[] | array