Tobscure\JsonApi\Parameters::getInput PHP Method

getInput() protected method

Get an input item.
protected getInput ( string $key, null $default = null ) : mixed
$key string
$default null
return mixed
    protected function getInput($key, $default = null)
    {
        return isset($this->input[$key]) ? $this->input[$key] : $default;
    }