private function getConfigFromContainer(ContainerInterface $container)
    {
        if (! $container->has('config')) {
            return [];
        }

        $config = $container->get('config');

        if (! isset($config['zf-mvc-auth']['authorization'])) {
            return [];
        }

        return $config['zf-mvc-auth']['authorization'];
    }
private function getConfigFromContainer(ContainerInterface $container)
    {
        if (! $container->has('config')) {
            return [];
        }

        $config = $container->get('config');

        if (! isset($config['zf-mvc-auth']['authorization'])) {
            return [];
        }

        return $config['zf-mvc-auth']['authorization'];
    }
private function getConfigFromContainer ( ContainerInterface $ container ) { if ( ! $ container -> has ( 'config' ) ) { return [ ] ; } $ config = $ container -> get ( 'config' ) ; if ( ! isset ( $ config [ 'zf-mvc-auth' ] [ 'authorization' ] ) ) { return [ ] ; } return $ config [ 'zf-mvc-auth' ] [ 'authorization' ] ; }
Retrieve configuration from the container.

Attempts to pull the 'config' service, and, further, the
zf-mvc-auth.authorization segment.

@param ContainerInterface $container
@return array
Retrieve configuration from the container .