public function setToken($token, $secret)
    {
        Argument::i()
            //argument 1 must be a string
            ->test(1, 'string')
            //argument 2 must be a string
            ->test(2, 'string');
        
        $this->requestToken = $token;
        $this->requestSecret = $secret;
        
        return $this;
    }
public function setToken($token, $secret)
    {
        Argument::i()
            //argument 1 must be a string
            ->test(1, 'string')
            //argument 2 must be a string
            ->test(2, 'string');
        
        $this->requestToken = $token;
        $this->requestSecret = $secret;
        
        return $this;
    }
public function setToken ( $ token , $ secret ) { Argument :: i ( ) //argument 1 must be a string -> test ( 1 , 'string' ) //argument 2 must be a string -> test ( 2 , 'string' ) ; $ this -> requestToken = $ token ; $ this -> requestSecret = $ secret ; return $ this ; }
Sets the request token and secret.
This should be set if wanting an access token

@param *string $token  Consumer or request token
@param *string $secret Consumer or request token secret

@return Eden\Oauth\Oauth1\Consumer
Sets the request token and secret . This should be set if wanting an access token