PHP Class ZfcRbac\Factory\RoutePermissionsGuardFactory

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

Protected Properties

Property Type Description
$options array

Public Methods

Method Description
__construct ( array $options = [] ) {@inheritDoc}
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : RoutePermissionsGuard
createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : RouteGuard
setCreationOptions ( array $options ) {@inheritDoc}

Method Details

__construct() public method

{@inheritDoc}
public __construct ( array $options = [] )
$options array

__invoke() public method

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

createService() public method

public createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : RouteGuard
$serviceLocator Zend\ServiceManager\ServiceLocatorInterface
return ZfcRbac\Guard\RouteGuard

setCreationOptions() public method

{@inheritDoc}
public setCreationOptions ( array $options )
$options array

Property Details

$options protected property

protected array $options
return array