Core/src/RequestWrapper.php
private function getRequestOptions(array $options)
    {
        $restOptions = isset($options['restOptions'])
            ? $options['restOptions']
            : $this->restOptions;
        $timeout = isset($options['requestTimeout'])
            ? $options['requestTimeout']
            : $this->requestTimeout;

        if ($timeout && !array_key_exists('timeout', $restOptions)) {
            $restOptions['timeout'] = $timeout;
        }

        return $restOptions;
    }
private function getRequestOptions(array $options)
    {
        $restOptions = isset($options['restOptions'])
            ? $options['restOptions']
            : $this->restOptions;
        $timeout = isset($options['requestTimeout'])
            ? $options['requestTimeout']
            : $this->requestTimeout;

        if ($timeout && !array_key_exists('timeout', $restOptions)) {
            $restOptions['timeout'] = $timeout;
        }

        return $restOptions;
    }
private function getRequestOptions ( array $ options ) { $ restOptions = isset ( $ options [ 'restOptions' ] ) ? $ options [ 'restOptions' ] : $ this -> restOptions ; $ timeout = isset ( $ options [ 'requestTimeout' ] ) ? $ options [ 'requestTimeout' ] : $ this -> requestTimeout ; if ( $ timeout && ! array_key_exists ( 'timeout' , $ restOptions ) ) { $ restOptions [ 'timeout' ] = $ timeout ; } return $ restOptions ; }
Gets a set of request options.

@param array $options
@return array
Gets a set of request options .