Jyxo\Rpc\Client::getOption PHP Method

getOption() public method

Returns certain parameter or whole array of parameters if no parameter name is provided.
public getOption ( string $key = '' ) : mixed
$key string Parameter name
return mixed
    public function getOption(string $key = '')
    {
        if (isset($this->options[$key])) {
            return $this->options[$key];
        }
        return $this->options;
    }