PHP Class ZfcRbac\Factory\HasRoleViewHelperFactory

Author: JM Leroux ([email protected])
Inheritance: implements Zend\ServiceManager\FactoryInterface
Mostrar archivo Open project: zf-commons/zfc-rbac Class Usage Examples

Public Methods

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

Method Details

__invoke() public method

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

createService() public method

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