Zend\View\Helper\Identity
View helper plugin to fetch the authenticated identity.
Synopsis
class Identity
extends AbstractHelper
{
- // members
- protected AuthenticationService $authenticationService;
- // Inherited members from AbstractHelper
- protected RendererInterface $view;
- // methods
- public mixed|null __invoke()
- public Identity setAuthenticationService()
- public AuthenticationService getAuthenticationService()
- // Inherited methods from AbstractHelper
- public AbstractHelper setView()
- public null|Renderer getView()
Hierarchy
Extends
Members
protected
- $authenticationService
—
Zend\Authentication\AuthenticationService
AuthenticationService instance - $view
—
Zend\View\Renderer\RendererInterface
View object instance
Methods
public
- __invoke() — Retrieve the current identity, if any.
- getAuthenticationService() — Get AuthenticationService instance
- setAuthenticationService() — Set AuthenticationService instance