PHP Class ZfcRbac\Factory\AuthorizationServiceDelegatorFactory

Author: Jean-Marie Leroux ([email protected])
Inheritance: implements Zend\ServiceManager\DelegatorFactoryInterface
Show file Open project: zf-commons/zfc-rbac Class Usage Examples

Public Methods

Method Description
__invoke ( Interop\Container\ContainerInterface $container, string $name, callable $callback, array $options = null ) : mixed
createDelegatorWithName ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, string $name, string $requestedName, callable $callback ) : mixed

Method Details

__invoke() public method

public __invoke ( Interop\Container\ContainerInterface $container, string $name, callable $callback, array $options = null ) : mixed
$container Interop\Container\ContainerInterface
$name string
$callback callable
$options array
return mixed

createDelegatorWithName() public method

public createDelegatorWithName ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, string $name, string $requestedName, callable $callback ) : mixed
$serviceLocator Zend\ServiceManager\ServiceLocatorInterface
$name string
$requestedName string
$callback callable
return mixed