src/Vectorface/SnappyRouter/Request/JsonRpcRequest.php
public function getParameters()
    {
        if (isset($this->payload->params)) {
            /* JSON-RPC 2 can pass named params. For PHP's sake, turn that into a single object param. */
            return is_array($this->payload->params) ? $this->payload->params : array($this->payload->params);
        }
        return array();
    }
public function getParameters()
    {
        if (isset($this->payload->params)) {
            /* JSON-RPC 2 can pass named params. For PHP's sake, turn that into a single object param. */
            return is_array($this->payload->params) ? $this->payload->params : array($this->payload->params);
        }
        return array();
    }
public function getParameters ( ) { if ( isset ( $ this -> payload -> params ) ) { /* JSON-RPC 2 can pass named params. For PHP's sake, turn that into a single object param. */ return is_array ( $ this -> payload -> params ) ? $ this -> payload -> params : array ( $ this -> payload -> params ) ; } return array ( ) ; }
Get request parameters.

Note: Since PHP does not support named params, named params are turned into a single request object parameter.

@return array An array of request paramters
Get request parameters .