public function signParams($method, $path, array $params = array())
    {
        $params = $this->completeParams($params);

        // generate the signature
        $params['signature'] = $this->signature($method, $path, $params);

        return $params;
    }
public function signParams($method, $path, array $params = array())
    {
        $params = $this->completeParams($params);

        // generate the signature
        $params['signature'] = $this->signature($method, $path, $params);

        return $params;
    }
public function signParams ( $ method , $ path , array $ params = array ( ) ) { $ params = $ this -> completeParams ( $ params ) ; // generate the signature $ params [ 'signature' ] = $ this -> signature ( $ method , $ path , $ params ) ; return $ params ; }
Generates the signature for a given set of request parameters and add
this signature to the set of parameters.

@param string   $method The HTTP method
@param string   $path   The request path
@param string[] $params Request parameters

@return string[] The signed parameters
Generates the signature for a given set of request parameters and add this signature to the set of parameters .