protected static function addRedirectUriToServiceConfig(array $config)
    {
        if (!empty($config['constructor']) && is_array($config['constructor'])) {
            $key = key($config['constructor']); // Key may be non-numeric

            if (!isset($config['constructor'][$key]['redirectUri'])) {
                $config['constructor'][$key]['redirectUri'] = static::getRedirectUri();
            }
        }

        return $config;
    }
protected static function addRedirectUriToServiceConfig(array $config)
    {
        if (!empty($config['constructor']) && is_array($config['constructor'])) {
            $key = key($config['constructor']); // Key may be non-numeric

            if (!isset($config['constructor'][$key]['redirectUri'])) {
                $config['constructor'][$key]['redirectUri'] = static::getRedirectUri();
            }
        }

        return $config;
    }
protected static function addRedirectUriToServiceConfig ( array $ config ) { if ( ! empty ( $ config [ 'constructor' ] ) && is_array ( $ config [ 'constructor' ] ) ) { $ key = key ( $ config [ 'constructor' ] ) ; // Key may be non-numeric if ( ! isset ( $ config [ 'constructor' ] [ $ key ] [ 'redirectUri' ] ) ) { $ config [ 'constructor' ] [ $ key ] [ 'redirectUri' ] = static :: getRedirectUri ( ) ; } } return $ config ; }
Add in the redirectUri option to this service's constructor options

@param array $config
@return array
Add in the redirectUri option to this service s constructor options