PHP Class ZfcRbac\Factory\RoleServiceFactory

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 ) : RoleService
createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : RoleService {@inheritDoc}

Method Details

__invoke() public method

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

createService() public method

{@inheritDoc}
public createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : RoleService
$serviceLocator Zend\ServiceManager\ServiceLocatorInterface
return ZfcRbac\Service\RoleService