public function createService( ServiceLocatorInterface $services )
    {
        $manager = $services->get( 'Zend\Session\ManagerInterface' );
        $storage = new Session( null, null, $manager );
        return new AuthenticationService( $services, $storage );
    }
public function createService( ServiceLocatorInterface $services )
    {
        $manager = $services->get( 'Zend\Session\ManagerInterface' );
        $storage = new Session( null, null, $manager );
        return new AuthenticationService( $services, $storage );
    }
public function createService ( ServiceLocatorInterface $ services ) { $ manager = $ services -> get ( 'Zend\Session\ManagerInterface' ) ; $ storage = new Session ( null , null , $ manager ) ; return new AuthenticationService ( $ services , $ storage ) ; }
Create authentication service

@param   ServiceLocatorInterface $services
@return  AuthenticationService
Create authentication service