\Auth\Factory\View\HelperAuthFactory

Factory for creating the Auth view helper.

Summary

Methods
Properties
Constants
__invoke()
createService()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__invoke()

__invoke(\Interop\Container\ContainerInterface $container, string $requestedName, null|array $options) : \Auth\View\Helper\Auth

Create an Auth view helper

Parameters

\Interop\Container\ContainerInterface $container
string $requestedName
null|array $options

Throws

\Auth\Factory\View\Helper\ServiceNotFoundException

if unable to resolve the service.

\Auth\Factory\View\Helper\ServiceNotCreatedException

if an exception is raised when

creating a service.
\Interop\Container\Exception\ContainerException

if any other error occurs

Returns

\Auth\View\Helper\Auth

createService()

createService(\Zend\ServiceManager\ServiceLocatorInterface $helpers) : \Auth\View\Helper\Auth

Creates an instance of \Auth\View\Helper\Auth

  • Injects the AuthenticationService

Parameters

\Zend\ServiceManager\ServiceLocatorInterface $helpers

Returns

\Auth\View\Helper\Auth