protected function setRequestOptions(array $options)
    {
        if (isset($options['timestamp'])) {
            $this->authentication->setTimestamp($options['timestamp']);
        } elseif (!$this->getConfig('timestamp')) {
            $this->authentication->setTimestamp();
        }

        if (isset($options['nonce'])) {
            $this->authentication->setNonce($options['nonce']);
        }

        if (isset($options['handler'])) {
            $options = $this->setAuthenticationHandler($options, $this->authentication);
        }

        if ($fp = $this->isVerbose()) {
            $options = $this->setVerboseHandler($options, $fp);
        }

        $options['debug'] = $this->getDebugOption($options);
        if ($fp = $this->isDebug()) {
            $options = $this->setDebugHandler($options, $fp);
        }

        if ($this->logger && isset($options['handler'])) {
            $this->setLogHandler($options['handler'], $this->logger);
            return $options;
        }

        return $options;
    }
protected function setRequestOptions(array $options)
    {
        if (isset($options['timestamp'])) {
            $this->authentication->setTimestamp($options['timestamp']);
        } elseif (!$this->getConfig('timestamp')) {
            $this->authentication->setTimestamp();
        }

        if (isset($options['nonce'])) {
            $this->authentication->setNonce($options['nonce']);
        }

        if (isset($options['handler'])) {
            $options = $this->setAuthenticationHandler($options, $this->authentication);
        }

        if ($fp = $this->isVerbose()) {
            $options = $this->setVerboseHandler($options, $fp);
        }

        $options['debug'] = $this->getDebugOption($options);
        if ($fp = $this->isDebug()) {
            $options = $this->setDebugHandler($options, $fp);
        }

        if ($this->logger && isset($options['handler'])) {
            $this->setLogHandler($options['handler'], $this->logger);
            return $options;
        }

        return $options;
    }
protected function setRequestOptions ( array $ options ) { if ( isset ( $ options [ 'timestamp' ] ) ) { $ this -> authentication -> setTimestamp ( $ options [ 'timestamp' ] ) ; } elseif ( ! $ this -> getConfig ( 'timestamp' ) ) { $ this -> authentication -> setTimestamp ( ) ; } if ( isset ( $ options [ 'nonce' ] ) ) { $ this -> authentication -> setNonce ( $ options [ 'nonce' ] ) ; } if ( isset ( $ options [ 'handler' ] ) ) { $ options = $ this -> setAuthenticationHandler ( $ options , $ this -> authentication ) ; } if ( $ fp = $ this -> isVerbose ( ) ) { $ options = $ this -> setVerboseHandler ( $ options , $ fp ) ; } $ options [ 'debug' ] = $ this -> getDebugOption ( $ options ) ; if ( $ fp = $ this -> isDebug ( ) ) { $ options = $ this -> setDebugHandler ( $ options , $ fp ) ; } if ( $ this -> logger && isset ( $ options [ 'handler' ] ) ) { $ this -> setLogHandler ( $ options [ 'handler' ] , $ this -> logger ) ; return $ options ; } return $ options ; }
Set request specific options

@param array $options
@return array
Set request specific options