Symfony\Component\Routing\RequestContext::__construct
Constructor.
Signature
public function __construct([string
$baseUrl = '',
[string
$method = 'GET',
[string
$host = 'localhost',
[string
$scheme = 'http',
[integer
$httpPort = 80,
[integer
$httpsPort = 443,
[string
$path = '/',
[string
$queryString = '']]]]]]]] )
Parameters
$baseUrl
—
string
- The base URL
$method
—
string
- The HTTP method
$host
—
string
- The HTTP host name
$scheme
—
string
- The HTTP scheme
$httpPort
—
integer
- The HTTP port
$httpsPort
—
integer
- The HTTPS port
$path
—
string
- The path
$queryString
—
string
- The query string