PHP Class ZfcRbac\Factory\IsGrantedViewHelperFactory

Author: Michaël Gallego ([email protected])
Inheritance: implements Zend\ServiceManager\FactoryInterface
显示文件 Open project: zf-commons/zfc-rbac Class Usage Examples

Public Methods

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

Method Details

__invoke() public method

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

createService() public method

{@inheritDoc}
public createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : IsGranted
$serviceLocator Zend\ServiceManager\ServiceLocatorInterface
return ZfcRbac\View\Helper\IsGranted