Fully Qualified Name: | Zend\View\Helper\Identity |
Extends: | AbstractHelper |
View helper plugin to fetch the authenticated identity.
Name | Description | Defined By |
---|---|---|
__invoke() | Retrieve the current identity, if any. | Identity |
getAuthenticationService() | Get AuthenticationService instance | Identity |
getView() | Get the view object | AbstractHelper |
setAuthenticationService() | Set AuthenticationService instance | Identity |
setView() | Set the View object | AbstractHelper |
Retrieve the current identity, if any.
If none available, returns null.
Returns: mixed|null
Get AuthenticationService instance
Returns: \AuthenticationServiceInterface
Get the view object
Returns: null|\Renderer
Set AuthenticationService instance
Parameter Name | Type | Description |
---|---|---|
$authenticationService | \AuthenticationServiceInterface |
Returns: \Identity
Set the View object
Parameter Name | Type | Description |
---|---|---|
$view | \Renderer |
Returns: \AbstractHelper