PHP Class ZfcRbac\View\Strategy\RedirectStrategy

Author: MichaĆ«l Gallego ([email protected])
Inheritance: extends AbstractStrategy
Show file Open project: zf-commons/zfc-rbac Class Usage Examples

Protected Properties

Property Type Description
$authenticationService Zend\Authentication\AuthenticationServiceInterface
$options ZfcRbac\Options\RedirectStrategyOptions

Public Methods

Method Description
__construct ( RedirectStrategyOptions $options, Zend\Authentication\AuthenticationServiceInterface $authenticationService ) Constructor
onError ( MvcEvent $event ) : void

Method Details

__construct() public method

Constructor
public __construct ( RedirectStrategyOptions $options, Zend\Authentication\AuthenticationServiceInterface $authenticationService )
$options ZfcRbac\Options\RedirectStrategyOptions
$authenticationService Zend\Authentication\AuthenticationServiceInterface

onError() public method

public onError ( MvcEvent $event ) : void
$event Zend\Mvc\MvcEvent
return void

Property Details

$authenticationService protected property

protected AuthenticationServiceInterface,Zend\Authentication $authenticationService
return Zend\Authentication\AuthenticationServiceInterface

$options protected property

protected RedirectStrategyOptions,ZfcRbac\Options $options
return ZfcRbac\Options\RedirectStrategyOptions