public function getOptions(ContainerInterface $container)
    {
        $options = $container->get('config');
        $options = $options['zend_authentication']['options'];
        $options['objectManager'] = $container->get(EntityManager::class);

        return new Authentication($options);
    }
public function getOptions(ContainerInterface $container)
    {
        $options = $container->get('config');
        $options = $options['zend_authentication']['options'];
        $options['objectManager'] = $container->get(EntityManager::class);

        return new Authentication($options);
    }
public function getOptions ( ContainerInterface $ container ) { $ options = $ container -> get ( 'config' ) ; $ options = $ options [ 'zend_authentication' ] [ 'options' ] ; $ options [ 'objectManager' ] = $ container -> get ( EntityManager :: class ) ; return new Authentication ( $ options ) ; }
Gets options from configuration.

@param  ContainerInterface $container
@return Authentication
Gets options from configuration .