Gajus\Fuss\Request::setPath PHP Method

setPath() private method

private setPath ( string $path ) : null
$path string
return null
    private function setPath($path)
    {
        if (strpos($path, '?') !== false) {
            throw new Exception\RequestException('Path must not have hard-coded query parameters.');
        }
        $this->path = ltrim($path, '/');
    }