src/Mvc/Service/AbstractControllerAbstractServiceFactory.php
protected function getConfig($requestedName, ServiceLocatorInterface $services)
    {
        if ($this->configKey) {
            $config = $services->get('Config');
            if (!empty($config[$this->configKey][$requestedName])
                && is_array($config[$this->configKey][$requestedName])
            ) {
                return $config[$this->configKey][$requestedName];
            }
        }

        return [];
    }
protected function getConfig($requestedName, ServiceLocatorInterface $services)
    {
        if ($this->configKey) {
            $config = $services->get('Config');
            if (!empty($config[$this->configKey][$requestedName])
                && is_array($config[$this->configKey][$requestedName])
            ) {
                return $config[$this->configKey][$requestedName];
            }
        }

        return [];
    }
protected function getConfig ( $ requestedName , ServiceLocatorInterface $ services ) { if ( $ this -> configKey ) { $ config = $ services -> get ( 'Config' ) ; if ( ! empty ( $ config [ $ this -> configKey ] [ $ requestedName ] ) && is_array ( $ config [ $ this -> configKey ] [ $ requestedName ] ) ) { return $ config [ $ this -> configKey ] [ $ requestedName ] ; } } return [ ] ; }
Retrieves configuration options

@param string $requestedName
@param ServiceLocatorInterface $services
@return array
Retrieves configuration options