protected function getUrlOptionsFromConfig(
        $urlConfig,
        array $defaultOptions
    ) {
        $urlOptions = (
            is_array($urlConfig) &&
            isset($urlConfig[2]) &&
            is_array($urlConfig[2])
        )
            ? $urlConfig[2]
            : [];

        return array_merge(
            $defaultOptions,
            $urlOptions
        );
    }
protected function getUrlOptionsFromConfig(
        $urlConfig,
        array $defaultOptions
    ) {
        $urlOptions = (
            is_array($urlConfig) &&
            isset($urlConfig[2]) &&
            is_array($urlConfig[2])
        )
            ? $urlConfig[2]
            : [];

        return array_merge(
            $defaultOptions,
            $urlOptions
        );
    }
protected function getUrlOptionsFromConfig ( $ urlConfig , array $ defaultOptions ) { $ urlOptions = ( is_array ( $ urlConfig ) && isset ( $ urlConfig [ 2 ] ) && is_array ( $ urlConfig [ 2 ] ) ) ? $ urlConfig [ 2 ] : [ ] ; return array_merge ( $ defaultOptions , $ urlOptions ) ; }
Get url options

@param mixed $urlConfig      Url configuration
@param array $defaultOptions Default options

@return string[] Set of HTTP Codes
Get url options