Controller plugin to fetch the authenticated identity.
Methods
Retrieve the current identity, if any.
__invoke() : mixed | null
If none is present, returns null.
Exceptions
Returns
mixed
null
Get the current controller instance
getController() : null | \Zend\Stdlib\DispatchableInterface
Inherited
inherited_from |
\Zend\Mvc\Controller\Plugin\AbstractPlugin::getController() |
Returns
setAuthenticationService()
setAuthenticationService(\Zend\Authentication\AuthenticationServiceInterface $authenticationService)
Set the current controller instance
setController(\Zend\Stdlib\DispatchableInterface $controller) : void
Inherited
inherited_from |
\Zend\Mvc\Controller\Plugin\AbstractPlugin::setController() |
Parameters
Properties