Open Journal Systems
3.3.0
|
Public Member Functions | |
__clone () | |
__clone () | |
__construct (array $query=[], array $request=[], array $attributes=[], array $cookies=[], array $files=[], array $server=[], $content=null) | |
__construct (array $query=array(), array $request=array(), array $attributes=array(), array $cookies=array(), array $files=array(), array $server=array(), $content=null) | |
__toString () | |
__toString () | |
duplicate (array $query=null, array $request=null, array $attributes=null, array $cookies=null, array $files=null, array $server=null) | |
duplicate (array $query=null, array $request=null, array $attributes=null, array $cookies=null, array $files=null, array $server=null) | |
get ($key, $default=null) | |
get ($key, $default=null) | |
getAcceptableContentTypes () | |
getAcceptableContentTypes () | |
getBasePath () | |
getBasePath () | |
getBaseUrl () | |
getBaseUrl () | |
getCharsets () | |
getCharsets () | |
getClientIp () | |
getClientIp () | |
getClientIps () | |
getClientIps () | |
getContent ($asResource=false) | |
getContent ($asResource=false) | |
getContentType () | |
getContentType () | |
getDefaultLocale () | |
getDefaultLocale () | |
getEncodings () | |
getEncodings () | |
getETags () | |
getETags () | |
getFormat ($mimeType) | |
getFormat ($mimeType) | |
getHost () | |
getHost () | |
getHttpHost () | |
getHttpHost () | |
getLanguages () | |
getLanguages () | |
getLocale () | |
getLocale () | |
getMethod () | |
getMethod () | |
getMimeType ($format) | |
getMimeType ($format) | |
getPassword () | |
getPassword () | |
getPathInfo () | |
getPathInfo () | |
getPort () | |
getPort () | |
getPreferredFormat (?string $default='html') | |
getPreferredLanguage (array $locales=null) | |
getPreferredLanguage (array $locales=null) | |
getProtocolVersion () | |
getQueryString () | |
getQueryString () | |
getRealMethod () | |
getRealMethod () | |
getRelativeUriForPath ($path) | |
getRelativeUriForPath ($path) | |
getRequestFormat ($default='html') | |
getRequestFormat ($default='html') | |
getRequestUri () | |
getRequestUri () | |
getScheme () | |
getScheme () | |
getSchemeAndHttpHost () | |
getSchemeAndHttpHost () | |
getScriptName () | |
getScriptName () | |
getSession () | |
getSession () | |
getUri () | |
getUri () | |
getUriForPath ($path) | |
getUriForPath ($path) | |
getUser () | |
getUser () | |
getUserInfo () | |
getUserInfo () | |
hasPreviousSession () | |
hasPreviousSession () | |
hasSession () | |
hasSession () | |
initialize (array $query=[], array $request=[], array $attributes=[], array $cookies=[], array $files=[], array $server=[], $content=null) | |
initialize (array $query=array(), array $request=array(), array $attributes=array(), array $cookies=array(), array $files=array(), array $server=array(), $content=null) | |
isFromTrustedProxy () | |
isFromTrustedProxy () | |
isMethod ($method) | |
isMethod ($method) | |
isMethodCacheable () | |
isMethodCacheable () | |
isMethodIdempotent () | |
isMethodIdempotent () | |
isMethodSafe () | |
isMethodSafe () | |
isNoCache () | |
isNoCache () | |
isSecure () | |
isSecure () | |
isXmlHttpRequest () | |
isXmlHttpRequest () | |
overrideGlobals () | |
overrideGlobals () | |
setDefaultLocale ($locale) | |
setDefaultLocale ($locale) | |
setFormat ($format, $mimeTypes) | |
setFormat ($format, $mimeTypes) | |
setLocale ($locale) | |
setLocale ($locale) | |
setMethod ($method) | |
setMethod ($method) | |
setRequestFormat ($format) | |
setRequestFormat ($format) | |
setSession (SessionInterface $session) | |
setSession (SessionInterface $session) | |
setSessionFactory (callable $factory) | |
Static Public Member Functions | |
static | create ($uri, $method='GET', $parameters=[], $cookies=[], $files=[], $server=[], $content=null) |
static | create ($uri, $method='GET', $parameters=array(), $cookies=array(), $files=array(), $server=array(), $content=null) |
static | createFromGlobals () |
static | createFromGlobals () |
static | enableHttpMethodParameterOverride () |
static | enableHttpMethodParameterOverride () |
static | getHttpMethodParameterOverride () |
static | getHttpMethodParameterOverride () |
static | getMimeTypes ($format) |
static | getMimeTypes ($format) |
static | getTrustedHeaderName ($key) |
static | getTrustedHeaderSet () |
static | getTrustedHeaderSet () |
static | getTrustedHosts () |
static | getTrustedHosts () |
static | getTrustedProxies () |
static | getTrustedProxies () |
static | normalizeQueryString ($qs) |
static | normalizeQueryString ($qs) |
static | setFactory ($callable) |
static | setFactory ($callable) |
static | setTrustedHeaderName ($key, $value) |
static | setTrustedHosts (array $hostPatterns) |
static | setTrustedHosts (array $hostPatterns) |
static | setTrustedProxies (array $proxies) |
static | setTrustedProxies (array $proxies, int $trustedHeaderSet) |
Data Fields | |
$attributes | |
$cookies | |
$files | |
$headers | |
$query | |
$request | |
$server | |
const | HEADER_CLIENT_HOST = self::HEADER_X_FORWARDED_HOST |
const | HEADER_CLIENT_IP = self::HEADER_X_FORWARDED_FOR |
const | HEADER_CLIENT_PORT = self::HEADER_X_FORWARDED_PORT |
const | HEADER_CLIENT_PROTO = self::HEADER_X_FORWARDED_PROTO |
const | HEADER_FORWARDED = 0b00001 |
const | HEADER_X_FORWARDED_ALL = 0b11110 |
const | HEADER_X_FORWARDED_AWS_ELB = 0b11010 |
const | HEADER_X_FORWARDED_FOR = 0b00010 |
const | HEADER_X_FORWARDED_HOST = 0b00100 |
const | HEADER_X_FORWARDED_PORT = 0b10000 |
const | HEADER_X_FORWARDED_PROTO = 0b01000 |
const | METHOD_CONNECT = 'CONNECT' |
const | METHOD_DELETE = 'DELETE' |
const | METHOD_GET = 'GET' |
const | METHOD_HEAD = 'HEAD' |
const | METHOD_OPTIONS = 'OPTIONS' |
const | METHOD_PATCH = 'PATCH' |
const | METHOD_POST = 'POST' |
const | METHOD_PURGE = 'PURGE' |
const | METHOD_PUT = 'PUT' |
const | METHOD_TRACE = 'TRACE' |
Protected Member Functions | |
prepareBasePath () | |
prepareBasePath () | |
prepareBaseUrl () | |
prepareBaseUrl () | |
preparePathInfo () | |
preparePathInfo () | |
prepareRequestUri () | |
prepareRequestUri () | |
Static Protected Member Functions | |
static | initializeFormats () |
static | initializeFormats () |
Protected Attributes | |
$acceptableContentTypes | |
$basePath | |
$baseUrl | |
$charsets | |
$content | |
$defaultLocale = 'en' | |
$encodings | |
$format | |
$languages | |
$locale | |
$method | |
$pathInfo | |
$requestUri | |
$session | |
Static Protected Attributes | |
static | $formats |
static | $httpMethodParameterOverride = false |
static | $requestFactory |
static | $trustedHeaders |
static | $trustedHostPatterns = array() |
static | $trustedHosts = array() |
static | $trustedProxies = array() |
Request represents an HTTP request.
The methods dealing with URL accept / return a raw path (% encoded):
Definition at line 31 of file lib/vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::__construct | ( | array | $query = array() , |
array | $request = array() , |
||
array | $attributes = array() , |
||
array | $cookies = array() , |
||
array | $files = array() , |
||
array | $server = array() , |
||
$content = null |
|||
) |
Constructor.
array | $query | The GET parameters |
array | $request | The POST parameters |
array | $attributes | The request attributes (parameters parsed from the PATH_INFO, ...) |
array | $cookies | The COOKIE parameters |
array | $files | The FILES parameters |
array | $server | The SERVER parameters |
string | resource | $content | The raw body data |
Definition at line 319 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$attributes, Symfony\Component\HttpFoundation\Request\$content, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\$files, Symfony\Component\HttpFoundation\Request\$query, Symfony\Component\HttpFoundation\Request\$request, Symfony\Component\HttpFoundation\Request\$server, and Symfony\Component\HttpFoundation\Request\initialize().
Symfony\Component\HttpFoundation\Request::__construct | ( | array | $query = [] , |
array | $request = [] , |
||
array | $attributes = [] , |
||
array | $cookies = [] , |
||
array | $files = [] , |
||
array | $server = [] , |
||
$content = null |
|||
) |
array | $query | The GET parameters |
array | $request | The POST parameters |
array | $attributes | The request attributes (parameters parsed from the PATH_INFO, ...) |
array | $cookies | The COOKIE parameters |
array | $files | The FILES parameters |
array | $server | The SERVER parameters |
string | resource | null | $content | The raw body data |
Definition at line 311 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$attributes, Symfony\Component\HttpFoundation\Request\$content, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\$files, Symfony\Component\HttpFoundation\Request\$query, Symfony\Component\HttpFoundation\Request\$request, Symfony\Component\HttpFoundation\Request\$server, and Symfony\Component\HttpFoundation\Request\initialize().
Symfony\Component\HttpFoundation\Request::__clone | ( | ) |
Clones the current request.
Note that the session is not cloned as duplicated requests are most of the time sub-requests of the main one.
Definition at line 555 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$attributes, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\$files, Symfony\Component\HttpFoundation\Request\$headers, Symfony\Component\HttpFoundation\Request\$query, Symfony\Component\HttpFoundation\Request\$request, and Symfony\Component\HttpFoundation\Request\$server.
Symfony\Component\HttpFoundation\Request::__clone | ( | ) |
Clones the current request.
Note that the session is not cloned as duplicated requests are most of the time sub-requests of the main one.
Definition at line 576 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$attributes, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\$files, Symfony\Component\HttpFoundation\Request\$headers, Symfony\Component\HttpFoundation\Request\$query, Symfony\Component\HttpFoundation\Request\$request, and Symfony\Component\HttpFoundation\Request\$server.
Symfony\Component\HttpFoundation\Request::__toString | ( | ) |
Returns the request as a string.
Definition at line 571 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$content, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\getContent(), Symfony\Component\HttpFoundation\Request\getMethod(), and Symfony\Component\HttpFoundation\Request\getRequestUri().
Symfony\Component\HttpFoundation\Request::__toString | ( | ) |
Returns the request as a string.
Definition at line 592 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$content, Symfony\Component\HttpFoundation\Request\getContent(), Symfony\Component\HttpFoundation\Request\getMethod(), and Symfony\Component\HttpFoundation\Request\getRequestUri().
|
static |
Creates a Request based on a given URI and configuration.
The information contained in the URI always take precedence over the other information (server and parameters).
string | $uri | The URI |
string | $method | The HTTP method |
array | $parameters | The query (GET) or request (POST) parameters |
array | $cookies | The request cookies ($_COOKIE) |
array | $files | The request files ($_FILES) |
array | $server | The server parameters ($_SERVER) |
string | resource | null | $content | The raw body data |
Definition at line 387 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$content, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\$files, Symfony\Component\HttpFoundation\Request\$method, Symfony\Component\HttpFoundation\Request\$query, Symfony\Component\HttpFoundation\Request\$request, and Symfony\Component\HttpFoundation\Request\$server.
|
static |
Creates a Request based on a given URI and configuration.
The information contained in the URI always take precedence over the other information (server and parameters).
string | $uri | The URI |
string | $method | The HTTP method |
array | $parameters | The query (GET) or request (POST) parameters |
array | $cookies | The request cookies ($_COOKIE) |
array | $files | The request files ($_FILES) |
array | $server | The server parameters ($_SERVER) |
string | $content | The raw body data |
Definition at line 408 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$content, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\$files, Symfony\Component\HttpFoundation\Request\$method, Symfony\Component\HttpFoundation\Request\$query, Symfony\Component\HttpFoundation\Request\$request, and Symfony\Component\HttpFoundation\Request\$server.
Referenced by Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testAcceptRangeNotOverriden(), Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testAcceptRangeOnUnsafeMethods(), Symfony\Component\HttpFoundation\Tests\RequestMatcherTest\testAttributes(), Symfony\Component\HttpFoundation\Tests\RequestTest\testCreate(), Symfony\Component\HttpFoundation\Tests\RequestTest\testCreateCheckPrecedence(), Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testDeleteFileAfterSend(), Symfony\Component\HttpFoundation\Tests\RequestTest\testFactory(), Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testFullFileRequests(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetBaseUrl(), Symfony\Component\HttpFoundation\Tests\RequestStackTest\testGetCurrentRequest(), Symfony\Component\HttpFoundation\Tests\RequestStackTest\testGetMasterRequest(), Symfony\Component\HttpFoundation\Tests\RequestStackTest\testGetParentRequest(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetPassword(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetPort(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetRelativeUriForPath(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedProxiesInvalidHeaderName(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetUriForPath(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetUser(), Symfony\Component\HttpFoundation\Tests\RequestMatcherTest\testHost(), Symfony\Component\HttpFoundation\Tests\RequestTest\testHostValidity(), Symfony\Component\HttpFoundation\Tests\RequestTest\testIISRequestUri(), Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testInvalidRequests(), Symfony\Component\HttpFoundation\Tests\ResponseTest\testIsNotModifiedNotSafe(), Symfony\Component\HttpFoundation\Tests\RequestTest\testLegacyTrustedProxies(), Symfony\Component\HttpFoundation\Tests\ExpressionRequestMatcherTest\testMatchesWhenParentMatchesIsFalse(), Symfony\Component\HttpFoundation\Tests\ExpressionRequestMatcherTest\testMatchesWhenParentMatchesIsTrue(), Symfony\Component\HttpFoundation\Tests\RequestMatcherTest\testMethod(), Symfony\Component\HttpFoundation\Tests\RequestMatcherTest\testPath(), Symfony\Component\HttpFoundation\Tests\RequestMatcherTest\testPathWithEncodedCharacters(), Symfony\Component\HttpFoundation\Tests\RequestMatcherTest\testPathWithLocaleIsNotSupported(), Symfony\Component\HttpFoundation\Tests\ResponseTest\testPrepareRemovesContentForHeadRequests(), Symfony\Component\HttpFoundation\Tests\ResponseTest\testPrepareRemovesContentForInformationalResponse(), Symfony\Component\HttpFoundation\Tests\ResponseTest\testPrepareRemovesContentLength(), Symfony\Component\HttpFoundation\Tests\ResponseTest\testPrepareSetContentType(), Symfony\Component\HttpFoundation\Tests\ResponseTest\testPrepareSetsPragmaOnHttp10Only(), Symfony\Component\HttpFoundation\Tests\StreamedResponseTest\testPrepareWith10Protocol(), Symfony\Component\HttpFoundation\Tests\StreamedResponseTest\testPrepareWith11Protocol(), Symfony\Component\HttpFoundation\Tests\StreamedResponseTest\testPrepareWithCacheHeaders(), Symfony\Component\HttpFoundation\Tests\StreamedResponseTest\testPrepareWithHeadRequest(), Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testRangeRequestsWithoutLastModifiedDate(), Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testRequests(), Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testRequestsWithoutEtag(), Symfony\Component\HttpFoundation\Tests\RequestMatcherTest\testScheme(), Symfony\Component\HttpFoundation\Tests\RequestTest\testSetTrustedProxiesInvalidHeaderName(), Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testStream(), Symfony\Component\HttpFoundation\Tests\RequestTest\testTrustedHosts(), Symfony\Component\HttpFoundation\Tests\RequestTest\testTrustedProxiesForwarded(), Symfony\Component\HttpFoundation\Tests\RequestTest\testTrustedProxiesXForwardedFor(), Symfony\Component\HttpFoundation\Tests\RequestTest\testVeryLongHosts(), Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testXAccelMapping(), and Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest\testXSendfile().
|
static |
Creates a new request with values from PHP's super globals.
Definition at line 357 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$request.
|
static |
Creates a new request with values from PHP's super globals.
Definition at line 365 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$request, and Symfony\Component\HttpFoundation\Request\$server.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\testCreateFromGlobals().
Symfony\Component\HttpFoundation\Request::duplicate | ( | array | $query = null , |
array | $request = null , |
||
array | $attributes = null , |
||
array | $cookies = null , |
||
array | $files = null , |
||
array | $server = null |
||
) |
Clones a request and overrides some of its parameters.
array | $query | The GET parameters |
array | $request | The POST parameters |
array | $attributes | The request attributes (parameters parsed from the PATH_INFO, ...) |
array | $cookies | The COOKIE parameters |
array | $files | The FILES parameters |
array | $server | The SERVER parameters |
Definition at line 505 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$attributes, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\$files, Symfony\Component\HttpFoundation\Request\$query, Symfony\Component\HttpFoundation\Request\$request, Symfony\Component\HttpFoundation\Request\$server, and Symfony\Component\HttpFoundation\Request\getRequestFormat().
Symfony\Component\HttpFoundation\Request::duplicate | ( | array | $query = null , |
array | $request = null , |
||
array | $attributes = null , |
||
array | $cookies = null , |
||
array | $files = null , |
||
array | $server = null |
||
) |
Clones a request and overrides some of its parameters.
array | $query | The GET parameters |
array | $request | The POST parameters |
array | $attributes | The request attributes (parameters parsed from the PATH_INFO, ...) |
array | $cookies | The COOKIE parameters |
array | $files | The FILES parameters |
array | $server | The SERVER parameters |
Definition at line 526 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$attributes, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\$files, Symfony\Component\HttpFoundation\Request\$query, Symfony\Component\HttpFoundation\Request\$request, Symfony\Component\HttpFoundation\Request\$server, and Symfony\Component\HttpFoundation\Request\getRequestFormat().
|
static |
Enables support for the _method request parameter to determine the intended HTTP method.
Be warned that enabling this feature might lead to CSRF issues in your code. Check that you are using CSRF tokens when required. If the HTTP method parameter override is enabled, an html-form with method "POST" can be altered and used to send a "PUT" or "DELETE" request via the _method request parameter. If these methods are not protected against CSRF, this presents a possible vulnerability.
The HTTP method can only be overridden when the real HTTP method is POST.
Definition at line 742 of file vendor/symfony/http-foundation/Request.php.
|
static |
Enables support for the _method request parameter to determine the intended HTTP method.
Be warned that enabling this feature might lead to CSRF issues in your code. Check that you are using CSRF tokens when required. If the HTTP method parameter override is enabled, an html-form with method "POST" can be altered and used to send a "PUT" or "DELETE" request via the _method request parameter. If these methods are not protected against CSRF, this presents a possible vulnerability.
The HTTP method can only be overridden when the real HTTP method is POST.
Definition at line 840 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\testCreateFromGlobals(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testGetSetMethod().
Symfony\Component\HttpFoundation\Request::get | ( | $key, | |
$default = null |
|||
) |
Gets a "parameter" value from any bag.
This method is mainly useful for libraries that want to provide some flexibility. If you don't need the flexibility in controllers, it is better to explicitly get request parameters from the appropriate public property instead (attributes, query, request).
Order of precedence: PATH (routing placeholders or custom attributes), GET, BODY
string | $key | The key |
mixed | $default | The default value if the parameter key does not exist |
Definition at line 771 of file vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::get | ( | $key, | |
$default = null |
|||
) |
Gets a "parameter" value from any bag.
This method is mainly useful for libraries that want to provide some flexibility. If you don't need the flexibility in controllers, it is better to explicitly get request parameters from the appropriate public property instead (attributes, query, request).
Order of precedence: PATH (routing placeholders or custom attributes), GET, BODY
string | $key | the key |
mixed | $default | the default value if the parameter key does not exist |
Definition at line 869 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Response\ensureIEOverSSLCompatibility(), Symfony\Component\HttpFoundation\Response\isNotModified(), Symfony\Component\HttpFoundation\RequestMatcher\matches(), Symfony\Component\HttpFoundation\BinaryFileResponse\prepare(), and Symfony\Component\HttpFoundation\Response\prepare().
Symfony\Component\HttpFoundation\Request::getAcceptableContentTypes | ( | ) |
Gets a list of content types acceptable by the client browser.
Definition at line 1786 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$acceptableContentTypes, and Symfony\Component\HttpFoundation\AcceptHeader\fromString().
Symfony\Component\HttpFoundation\Request::getAcceptableContentTypes | ( | ) |
Gets a list of content types acceptable by the client browser.
Definition at line 1823 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$acceptableContentTypes, and Symfony\Component\HttpFoundation\AcceptHeader\fromString().
Referenced by Symfony\Component\HttpFoundation\Request\getPreferredFormat().
Symfony\Component\HttpFoundation\Request::getBasePath | ( | ) |
Returns the root path from which this request is executed.
Suppose that an index.php file instantiates this request object:
Definition at line 941 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$basePath, and Symfony\Component\HttpFoundation\Request\prepareBasePath().
Symfony\Component\HttpFoundation\Request::getBasePath | ( | ) |
Returns the root path from which this request is executed.
Suppose that an index.php file instantiates this request object:
Definition at line 1026 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$basePath, and Symfony\Component\HttpFoundation\Request\prepareBasePath().
Symfony\Component\HttpFoundation\Request::getBaseUrl | ( | ) |
Returns the root URL from which this request is executed.
The base URL never ends with a /.
This is similar to getBasePath(), except that it also includes the script filename (e.g. index.php) if one exists.
Definition at line 960 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$baseUrl, and Symfony\Component\HttpFoundation\Request\prepareBaseUrl().
Symfony\Component\HttpFoundation\Request::getBaseUrl | ( | ) |
Returns the root URL from which this request is executed.
The base URL never ends with a /.
This is similar to getBasePath(), except that it also includes the script filename (e.g. index.php) if one exists.
Definition at line 1045 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$baseUrl, and Symfony\Component\HttpFoundation\Request\prepareBaseUrl().
Referenced by Symfony\Component\HttpFoundation\Request\prepareBasePath(), and Symfony\Component\HttpFoundation\Request\preparePathInfo().
Symfony\Component\HttpFoundation\Request::getCharsets | ( | ) |
Gets a list of charsets acceptable by the client browser.
Definition at line 1758 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$charsets, and Symfony\Component\HttpFoundation\AcceptHeader\fromString().
Symfony\Component\HttpFoundation\Request::getCharsets | ( | ) |
Gets a list of charsets acceptable by the client browser.
Definition at line 1795 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$charsets, and Symfony\Component\HttpFoundation\AcceptHeader\fromString().
Symfony\Component\HttpFoundation\Request::getClientIp | ( | ) |
Returns the client IP address.
This method can read the client IP address from the "X-Forwarded-For" header when trusted proxies were set via "setTrustedProxies()". The "X-Forwarded-For" header value is a comma+space separated list of IP addresses, the left-most being the original client, and each successive proxy that passed the request adding the IP address where it received the request from.
If your reverse proxy uses a different header name than "X-Forwarded-For", ("Client-Ip" for instance), configure it via the $trustedHeaderSet argument of the Request::setTrustedProxies() method instead.
Definition at line 889 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getClientIps().
Symfony\Component\HttpFoundation\Request::getClientIp | ( | ) |
Returns the client IP address.
This method can read the client IP address from the "X-Forwarded-For" header when trusted proxies were set via "setTrustedProxies()". The "X-Forwarded-For" header value is a comma+space separated list of IP addresses, the left-most being the original client, and each successive proxy that passed the request adding the IP address where it received the request from.
If your reverse proxy uses a different header name than "X-Forwarded-For", ("Client-Ip" for instance), configure it via the $trustedHeaderSet argument of the Request::setTrustedProxies() method instead.
Definition at line 974 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getClientIps().
Referenced by Symfony\Component\HttpFoundation\ExpressionRequestMatcher\matches(), and Symfony\Component\HttpFoundation\RequestMatcher\matches().
Symfony\Component\HttpFoundation\Request::getClientIps | ( | ) |
Returns the client IP addresses.
In the returned array the most trusted IP address is first, and the least trusted one last. The "real" client IP address is the last one, but this is also the least trusted one. Trusted proxies are stripped.
Use this method carefully; you should use getClientIp() instead.
Definition at line 860 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\isFromTrustedProxy().
Symfony\Component\HttpFoundation\Request::getClientIps | ( | ) |
Returns the client IP addresses.
In the returned array the most trusted IP address is first, and the least trusted one last. The "real" client IP address is the last one, but this is also the least trusted one. Trusted proxies are stripped.
Use this method carefully; you should use getClientIp() instead.
Definition at line 945 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\isFromTrustedProxy().
Referenced by Symfony\Component\HttpFoundation\Request\getClientIp().
Symfony\Component\HttpFoundation\Request::getContent | ( | $asResource = false | ) |
Returns the request body content.
bool | $asResource | If true, a resource will be returned |
Reimplemented in Symfony\Component\HttpFoundation\Tests\RequestContentProxy.
Definition at line 1599 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$content.
Symfony\Component\HttpFoundation\Request::getContent | ( | $asResource = false | ) |
Returns the request body content.
bool | $asResource | If true, a resource will be returned |
Reimplemented in Symfony\Component\HttpFoundation\Tests\RequestContentProxy.
Definition at line 1656 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$content.
Referenced by Symfony\Component\HttpFoundation\Request\__toString().
Symfony\Component\HttpFoundation\Request::getContentType | ( | ) |
Gets the format associated with the request.
Definition at line 1467 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getFormat().
Symfony\Component\HttpFoundation\Request::getContentType | ( | ) |
Gets the format associated with the request.
Definition at line 1542 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getFormat().
Symfony\Component\HttpFoundation\Request::getDefaultLocale | ( | ) |
Get the default locale.
Definition at line 1491 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$defaultLocale.
Symfony\Component\HttpFoundation\Request::getDefaultLocale | ( | ) |
Get the default locale.
Definition at line 1566 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$defaultLocale.
Symfony\Component\HttpFoundation\Request::getEncodings | ( | ) |
Gets a list of encodings acceptable by the client browser.
Definition at line 1772 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$encodings, and Symfony\Component\HttpFoundation\AcceptHeader\fromString().
Symfony\Component\HttpFoundation\Request::getEncodings | ( | ) |
Gets a list of encodings acceptable by the client browser.
Definition at line 1809 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$encodings, and Symfony\Component\HttpFoundation\AcceptHeader\fromString().
Symfony\Component\HttpFoundation\Request::getETags | ( | ) |
Gets the Etags.
Definition at line 1642 of file vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::getETags | ( | ) |
Gets the Etags.
Definition at line 1702 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Response\isNotModified().
Symfony\Component\HttpFoundation\Request::getFormat | ( | $mimeType | ) |
Gets the format associated with the mime type.
string | $mimeType | The associated mime type |
Definition at line 1390 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Symfony\Component\HttpFoundation\Request::getFormat | ( | $mimeType | ) |
Gets the format associated with the mime type.
string | $mimeType | The associated mime type |
Definition at line 1469 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Referenced by Symfony\Component\HttpFoundation\Request\getContentType(), and Symfony\Component\HttpFoundation\Request\getPreferredFormat().
Symfony\Component\HttpFoundation\Request::getHost | ( | ) |
Returns the host name.
This method can read the client host name from the "X-Forwarded-Host" header when trusted proxies were set via "setTrustedProxies()".
The "X-Forwarded-Host" header must contain the client host name.
SuspiciousOperationException | when the host name is invalid or not trusted |
Definition at line 1226 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\isFromTrustedProxy().
Symfony\Component\HttpFoundation\Request::getHost | ( | ) |
Returns the host name.
This method can read the client host name from the "X-Forwarded-Host" header when trusted proxies were set via "setTrustedProxies()".
The "X-Forwarded-Host" header must contain the client host name.
If your reverse proxy uses a different header name than "X-Forwarded-Host", configure it via the $trustedHeaderSet argument of the Request::setTrustedProxies() method instead.
SuspiciousOperationException | when the host name is invalid or not trusted |
Definition at line 1323 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\isFromTrustedProxy().
Referenced by Symfony\Component\HttpFoundation\Request\getHttpHost(), Symfony\Component\HttpFoundation\ExpressionRequestMatcher\matches(), and Symfony\Component\HttpFoundation\RequestMatcher\matches().
Symfony\Component\HttpFoundation\Request::getHttpHost | ( | ) |
Returns the HTTP host being requested.
The port name will be appended to the host if it's non-standard.
Definition at line 1056 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getHost(), Symfony\Component\HttpFoundation\Request\getPort(), and Symfony\Component\HttpFoundation\Request\getScheme().
Symfony\Component\HttpFoundation\Request::getHttpHost | ( | ) |
Returns the HTTP host being requested.
The port name will be appended to the host if it's non-standard.
Definition at line 1145 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getHost(), Symfony\Component\HttpFoundation\Request\getPort(), and Symfony\Component\HttpFoundation\Request\getScheme().
Referenced by Symfony\Component\HttpFoundation\Request\getSchemeAndHttpHost().
|
static |
Checks whether support for the _method request parameter is enabled.
Definition at line 752 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$httpMethodParameterOverride.
|
static |
Checks whether support for the _method request parameter is enabled.
Definition at line 850 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$httpMethodParameterOverride.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\testGetSetMethod().
Symfony\Component\HttpFoundation\Request::getLanguages | ( | ) |
Gets a list of languages acceptable by the client browser.
Definition at line 1718 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$languages, and Symfony\Component\HttpFoundation\AcceptHeader\fromString().
Symfony\Component\HttpFoundation\Request::getLanguages | ( | ) |
Gets a list of languages acceptable by the client browser.
Definition at line 1755 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$languages, and Symfony\Component\HttpFoundation\AcceptHeader\fromString().
Referenced by Symfony\Component\HttpFoundation\Request\getPreferredLanguage().
Symfony\Component\HttpFoundation\Request::getLocale | ( | ) |
Get the locale.
Definition at line 1511 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$locale.
Symfony\Component\HttpFoundation\Request::getLocale | ( | ) |
Get the locale.
Definition at line 1586 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$locale.
Symfony\Component\HttpFoundation\Request::getMethod | ( | ) |
Gets the request "intended" method.
If the X-HTTP-Method-Override header is set, and if the method is a POST, then it is used to determine the "real" intended HTTP method.
The _method request parameter can also be used to determine the HTTP method, but only if enableHttpMethodParameterOverride() has been called.
The method is always an uppercased string.
Definition at line 1304 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$method.
Symfony\Component\HttpFoundation\Request::getMethod | ( | ) |
Gets the request "intended" method.
If the X-HTTP-Method-Override header is set, and if the method is a POST, then it is used to determine the "real" intended HTTP method.
The _method request parameter can also be used to determine the HTTP method, but only if enableHttpMethodParameterOverride() has been called.
The method is always an uppercased string.
Definition at line 1401 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$method.
Referenced by Symfony\Component\HttpFoundation\Request\__toString(), Symfony\Component\HttpFoundation\Request\isMethod(), Symfony\Component\HttpFoundation\Request\isMethodCacheable(), Symfony\Component\HttpFoundation\Request\isMethodIdempotent(), Symfony\Component\HttpFoundation\Request\isMethodSafe(), Symfony\Component\HttpFoundation\ExpressionRequestMatcher\matches(), and Symfony\Component\HttpFoundation\RequestMatcher\matches().
Symfony\Component\HttpFoundation\Request::getMimeType | ( | $format | ) |
Gets the mime type associated with the format.
string | $format | The format |
Definition at line 1358 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Symfony\Component\HttpFoundation\Request::getMimeType | ( | $format | ) |
Gets the mime type associated with the format.
string | $format | The format |
Definition at line 1437 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Referenced by Symfony\Component\HttpFoundation\Response\prepare().
|
static |
Gets the mime types associated with the format.
string | $format | The format |
Definition at line 1374 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
|
static |
Gets the mime types associated with the format.
string | $format | The format |
Definition at line 1453 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\testGetMimeTypesFromFormat(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testGetMimeTypesFromInexistentFormat().
Symfony\Component\HttpFoundation\Request::getPassword | ( | ) |
Returns the password.
Definition at line 1027 of file vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::getPassword | ( | ) |
Returns the password.
Definition at line 1116 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getUserInfo().
Symfony\Component\HttpFoundation\Request::getPathInfo | ( | ) |
Returns the path being requested relative to the executed script.
The path info always starts with a /.
Suppose this request is instantiated from /mysite on localhost:
Definition at line 920 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$pathInfo, and Symfony\Component\HttpFoundation\Request\preparePathInfo().
Symfony\Component\HttpFoundation\Request::getPathInfo | ( | ) |
Returns the path being requested relative to the executed script.
The path info always starts with a /.
Suppose this request is instantiated from /mysite on localhost:
Definition at line 1005 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$pathInfo, and Symfony\Component\HttpFoundation\Request\preparePathInfo().
Referenced by Symfony\Component\HttpFoundation\Request\getRelativeUriForPath(), Symfony\Component\HttpFoundation\ExpressionRequestMatcher\matches(), and Symfony\Component\HttpFoundation\RequestMatcher\matches().
Symfony\Component\HttpFoundation\Request::getPort | ( | ) |
Returns the port on which the request is made.
This method can read the client port from the "X-Forwarded-Port" header when trusted proxies were set via "setTrustedProxies()".
The "X-Forwarded-Port" header must contain the client port.
Definition at line 989 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getScheme(), and Symfony\Component\HttpFoundation\Request\isFromTrustedProxy().
Symfony\Component\HttpFoundation\Request::getPort | ( | ) |
Returns the port on which the request is made.
This method can read the client port from the "X-Forwarded-Port" header when trusted proxies were set via "setTrustedProxies()".
The "X-Forwarded-Port" header must contain the client port.
If your reverse proxy uses a different header name than "X-Forwarded-Port", configure it via via the $trustedHeaderSet argument of the Request::setTrustedProxies() method instead.
Definition at line 1078 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getScheme(), and Symfony\Component\HttpFoundation\Request\isFromTrustedProxy().
Referenced by Symfony\Component\HttpFoundation\Request\getHttpHost(), and Symfony\Component\HttpFoundation\RequestMatcher\matches().
Symfony\Component\HttpFoundation\Request::getPreferredFormat | ( | ?string | $default = 'html' | ) |
Gets the preferred format for the response by inspecting, in the following order:
Note that if you use this method, you should send the "Vary: Accept" header in the response to prevent any issues with intermediary HTTP caches.
Definition at line 1663 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getAcceptableContentTypes(), Symfony\Component\HttpFoundation\Request\getFormat(), and Symfony\Component\HttpFoundation\Request\getRequestFormat().
Symfony\Component\HttpFoundation\Request::getPreferredLanguage | ( | array | $locales = null | ) |
Returns the preferred language.
string[] | $locales | An array of ordered available locales |
Definition at line 1685 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getLanguages().
Symfony\Component\HttpFoundation\Request::getPreferredLanguage | ( | array | $locales = null | ) |
Returns the preferred language.
array | $locales | An array of ordered available locales |
Definition at line 1722 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getLanguages().
Symfony\Component\HttpFoundation\Request::getProtocolVersion | ( | ) |
Returns the protocol version.
If the application is behind a proxy, the protocol version used in the requests between the client and the proxy and between the proxy and the server might be different. This returns the former (from the "Via" header) if the proxy is trusted (see "setTrustedProxies()"), otherwise it returns the latter (from the "SERVER_PROTOCOL" server parameter).
Definition at line 1577 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\isFromTrustedProxy().
Symfony\Component\HttpFoundation\Request::getQueryString | ( | ) |
Generates the normalized query string for the Request.
It builds a normalized query string, where keys/value pairs are alphabetized and have consistent escaping.
Definition at line 1186 of file vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::getQueryString | ( | ) |
Generates the normalized query string for the Request.
It builds a normalized query string, where keys/value pairs are alphabetized and have consistent escaping.
Definition at line 1275 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getUri().
Symfony\Component\HttpFoundation\Request::getRealMethod | ( | ) |
Gets the "real" request method.
Definition at line 1346 of file vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::getRealMethod | ( | ) |
Gets the "real" request method.
Definition at line 1425 of file lib/vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::getRelativeUriForPath | ( | $path | ) |
Returns the path as relative reference from the current Request path.
Only the URIs path component (no schema, host etc.) is relevant and must be given. Both paths must be absolute and not contain relative parts. Relative URLs from one resource to another are useful when generating self-contained downloadable document archives. Furthermore, they can be used to reduce the link size in documents.
Example target paths, given a base path of "/a/b/c/d":
string | $path | The target path |
Definition at line 1142 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$basePath, and Symfony\Component\HttpFoundation\Request\getPathInfo().
Symfony\Component\HttpFoundation\Request::getRelativeUriForPath | ( | $path | ) |
Returns the path as relative reference from the current Request path.
Only the URIs path component (no schema, host etc.) is relevant and must be given. Both paths must be absolute and not contain relative parts. Relative URLs from one resource to another are useful when generating self-contained downloadable document archives. Furthermore, they can be used to reduce the link size in documents.
Example target paths, given a base path of "/a/b/c/d":
string | $path | The target path |
Definition at line 1231 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$basePath, and Symfony\Component\HttpFoundation\Request\getPathInfo().
Symfony\Component\HttpFoundation\Request::getRequestFormat | ( | $default = 'html' | ) |
Gets the request format.
Here is the process to determine the format:
string | null | $default | The default format |
Definition at line 1443 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Symfony\Component\HttpFoundation\Request::getRequestFormat | ( | $default = 'html' | ) |
Gets the request format.
Here is the process to determine the format:
string | $default | The default format |
Definition at line 1518 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Referenced by Symfony\Component\HttpFoundation\Request\duplicate(), Symfony\Component\HttpFoundation\Request\getPreferredFormat(), and Symfony\Component\HttpFoundation\Response\prepare().
Symfony\Component\HttpFoundation\Request::getRequestUri | ( | ) |
Returns the requested URI (path and query string).
Definition at line 1073 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$requestUri, and Symfony\Component\HttpFoundation\Request\prepareRequestUri().
Symfony\Component\HttpFoundation\Request::getRequestUri | ( | ) |
Returns the requested URI (path and query string).
Definition at line 1162 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$requestUri, and Symfony\Component\HttpFoundation\Request\prepareRequestUri().
Referenced by Symfony\Component\HttpFoundation\Request\__toString(), Symfony\Component\HttpFoundation\Request\prepareBaseUrl(), and Symfony\Component\HttpFoundation\Request\preparePathInfo().
Symfony\Component\HttpFoundation\Request::getScheme | ( | ) |
Gets the request's scheme.
Definition at line 974 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\isSecure().
Symfony\Component\HttpFoundation\Request::getScheme | ( | ) |
Gets the request's scheme.
Definition at line 1059 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\isSecure().
Referenced by Symfony\Component\HttpFoundation\Request\getHttpHost(), Symfony\Component\HttpFoundation\Request\getPort(), Symfony\Component\HttpFoundation\Request\getSchemeAndHttpHost(), and Symfony\Component\HttpFoundation\RequestMatcher\matches().
Symfony\Component\HttpFoundation\Request::getSchemeAndHttpHost | ( | ) |
Gets the scheme and HTTP host.
If the URL was called with basic authentication, the user and the password are not added to the generated string.
Definition at line 1090 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getHttpHost(), and Symfony\Component\HttpFoundation\Request\getScheme().
Symfony\Component\HttpFoundation\Request::getSchemeAndHttpHost | ( | ) |
Gets the scheme and HTTP host.
If the URL was called with basic authentication, the user and the password are not added to the generated string.
Definition at line 1179 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getHttpHost(), and Symfony\Component\HttpFoundation\Request\getScheme().
Referenced by Symfony\Component\HttpFoundation\Request\getUri(), Symfony\Component\HttpFoundation\Request\getUriForPath(), and Symfony\Component\HttpFoundation\Request\prepareRequestUri().
Symfony\Component\HttpFoundation\Request::getScriptName | ( | ) |
Returns current script name.
Definition at line 901 of file vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::getScriptName | ( | ) |
Returns current script name.
Definition at line 986 of file lib/vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::getSession | ( | ) |
Gets the Session.
Definition at line 793 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$session, and Symfony\Component\HttpFoundation\Request\setSession().
Symfony\Component\HttpFoundation\Request::getSession | ( | ) |
Gets the Session.
Definition at line 891 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$session.
Referenced by Symfony\Component\HttpFoundation\Request\hasPreviousSession().
|
static |
Gets the trusted proxy header name.
string | $key | The header key |
Definition at line 773 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedHeaderName(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedProxiesInvalidHeaderName().
|
static |
Gets the set of trusted headers from trusted proxies.
Definition at line 678 of file vendor/symfony/http-foundation/Request.php.
|
static |
Gets the set of trusted headers from trusted proxies.
Definition at line 683 of file lib/vendor/symfony/http-foundation/Request.php.
|
static |
Gets the list of trusted host patterns.
Definition at line 704 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$trustedHostPatterns.
|
static |
Gets the list of trusted host patterns.
Definition at line 709 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$trustedHostPatterns.
|
static |
Gets the list of trusted proxies.
Definition at line 668 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$trustedProxies.
|
static |
Gets the list of trusted proxies.
Definition at line 673 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$trustedProxies.
Symfony\Component\HttpFoundation\Request::getUri | ( | ) |
Generates a normalized URI (URL) for the Request.
Definition at line 1102 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getQueryString(), and Symfony\Component\HttpFoundation\Request\getSchemeAndHttpHost().
Symfony\Component\HttpFoundation\Request::getUri | ( | ) |
Generates a normalized URI (URL) for the Request.
Definition at line 1191 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getQueryString(), and Symfony\Component\HttpFoundation\Request\getSchemeAndHttpHost().
Symfony\Component\HttpFoundation\Request::getUriForPath | ( | $path | ) |
Generates a normalized URI for the given path.
string | $path | A path to use instead of the current one |
Definition at line 1118 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getSchemeAndHttpHost().
Symfony\Component\HttpFoundation\Request::getUriForPath | ( | $path | ) |
Generates a normalized URI for the given path.
string | $path | A path to use instead of the current one |
Definition at line 1207 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getSchemeAndHttpHost().
Symfony\Component\HttpFoundation\Request::getUser | ( | ) |
Returns the user.
Definition at line 1017 of file vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::getUser | ( | ) |
Returns the user.
Definition at line 1106 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getUserInfo().
Symfony\Component\HttpFoundation\Request::getUserInfo | ( | ) |
Gets the user info.
Definition at line 1037 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getPassword(), and Symfony\Component\HttpFoundation\Request\getUser().
Symfony\Component\HttpFoundation\Request::getUserInfo | ( | ) |
Gets the user info.
Definition at line 1126 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getPassword(), and Symfony\Component\HttpFoundation\Request\getUser().
Symfony\Component\HttpFoundation\Request::hasPreviousSession | ( | ) |
Whether the request contains a Session which was started in one of the previous requests.
Definition at line 814 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getSession(), and Symfony\Component\HttpFoundation\Request\hasSession().
Symfony\Component\HttpFoundation\Request::hasPreviousSession | ( | ) |
Whether the request contains a Session which was started in one of the previous requests.
Definition at line 902 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\hasSession().
Symfony\Component\HttpFoundation\Request::hasSession | ( | ) |
Whether the request contains a Session object.
This method does not give any information about the state of the session object, like whether the session is started or not. It is just a way to check if this Request is associated with a Session instance.
Definition at line 829 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$session.
Symfony\Component\HttpFoundation\Request::hasSession | ( | ) |
Whether the request contains a Session object.
This method does not give any information about the state of the session object, like whether the session is started or not. It is just a way to check if this Request is associated with a Session instance.
Definition at line 917 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$session.
Referenced by Symfony\Component\HttpFoundation\Request\hasPreviousSession().
Symfony\Component\HttpFoundation\Request::initialize | ( | array | $query = [] , |
array | $request = [] , |
||
array | $attributes = [] , |
||
array | $cookies = [] , |
||
array | $files = [] , |
||
array | $server = [] , |
||
$content = null |
|||
) |
Sets the parameters for this request.
This method also re-initializes all properties.
array | $query | The GET parameters |
array | $request | The POST parameters |
array | $attributes | The request attributes (parameters parsed from the PATH_INFO, ...) |
array | $cookies | The COOKIE parameters |
array | $files | The FILES parameters |
array | $server | The SERVER parameters |
string | resource | null | $content | The raw body data |
Definition at line 329 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$attributes, Symfony\Component\HttpFoundation\Request\$content, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\$files, Symfony\Component\HttpFoundation\Request\$query, Symfony\Component\HttpFoundation\Request\$request, and Symfony\Component\HttpFoundation\Request\$server.
Symfony\Component\HttpFoundation\Request::initialize | ( | array | $query = array() , |
array | $request = array() , |
||
array | $attributes = array() , |
||
array | $cookies = array() , |
||
array | $files = array() , |
||
array | $server = array() , |
||
$content = null |
|||
) |
Sets the parameters for this request.
This method also re-initializes all properties.
array | $query | The GET parameters |
array | $request | The POST parameters |
array | $attributes | The request attributes (parameters parsed from the PATH_INFO, ...) |
array | $cookies | The COOKIE parameters |
array | $files | The FILES parameters |
array | $server | The SERVER parameters |
string | resource | $content | The raw body data |
Definition at line 337 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$attributes, Symfony\Component\HttpFoundation\Request\$content, Symfony\Component\HttpFoundation\Request\$cookies, Symfony\Component\HttpFoundation\Request\$files, Symfony\Component\HttpFoundation\Request\$query, Symfony\Component\HttpFoundation\Request\$request, and Symfony\Component\HttpFoundation\Request\$server.
Referenced by Symfony\Component\HttpFoundation\Request\__construct().
|
staticprotected |
Initializes HTTP request formats.
Definition at line 1993 of file vendor/symfony/http-foundation/Request.php.
|
staticprotected |
Initializes HTTP request formats.
Definition at line 2021 of file lib/vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::isFromTrustedProxy | ( | ) |
Indicates whether this request originated from a trusted proxy.
This can be useful to determine whether or not to trust the contents of a proxy-specific header.
Definition at line 2065 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\IpUtils\checkIp().
Symfony\Component\HttpFoundation\Request::isFromTrustedProxy | ( | ) |
Indicates whether this request originated from a trusted proxy.
This can be useful to determine whether or not to trust the contents of a proxy-specific header.
Definition at line 2102 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\IpUtils\checkIp().
Referenced by Symfony\Component\HttpFoundation\Request\getClientIps(), Symfony\Component\HttpFoundation\Request\getHost(), Symfony\Component\HttpFoundation\Request\getPort(), Symfony\Component\HttpFoundation\Request\getProtocolVersion(), and Symfony\Component\HttpFoundation\Request\isSecure().
Symfony\Component\HttpFoundation\Request::isMethod | ( | $method | ) |
Checks if the request method is of specified type.
string | $method | Uppercase request method (GET, POST etc) |
Definition at line 1523 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$method, and Symfony\Component\HttpFoundation\Request\getMethod().
Symfony\Component\HttpFoundation\Request::isMethod | ( | $method | ) |
Checks if the request method is of specified type.
string | $method | Uppercase request method (GET, POST etc) |
Definition at line 1598 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$method, and Symfony\Component\HttpFoundation\Request\getMethod().
Referenced by Symfony\Component\HttpFoundation\Response\prepare().
Symfony\Component\HttpFoundation\Request::isMethodCacheable | ( | ) |
Checks whether the method is cacheable or not.
Definition at line 1561 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getMethod().
Symfony\Component\HttpFoundation\Request::isMethodCacheable | ( | ) |
Checks whether the method is cacheable or not.
Definition at line 1642 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getMethod().
Referenced by Symfony\Component\HttpFoundation\Response\isNotModified().
Symfony\Component\HttpFoundation\Request::isMethodIdempotent | ( | ) |
Checks whether or not the method is idempotent.
Definition at line 1549 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getMethod().
Symfony\Component\HttpFoundation\Request::isMethodIdempotent | ( | ) |
Checks whether or not the method is idempotent.
Definition at line 1630 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getMethod().
Symfony\Component\HttpFoundation\Request::isMethodSafe | ( | ) |
Checks whether or not the method is safe.
Definition at line 1535 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getMethod().
Symfony\Component\HttpFoundation\Request::isMethodSafe | ( | ) |
Checks whether or not the method is safe.
bool | $andCacheable | Adds the additional condition that the method should be cacheable. True by default. |
Definition at line 1612 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\getMethod().
Referenced by Symfony\Component\HttpFoundation\BinaryFileResponse\prepare().
Symfony\Component\HttpFoundation\Request::isNoCache | ( | ) |
Definition at line 1650 of file vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::isNoCache | ( | ) |
Definition at line 1710 of file lib/vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::isSecure | ( | ) |
Checks whether the request is secure or not.
This method can read the client protocol from the "X-Forwarded-Proto" header when trusted proxies were set via "setTrustedProxies()".
The "X-Forwarded-Proto" header must contain the protocol: "https" or "http".
Definition at line 1203 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\isFromTrustedProxy().
Symfony\Component\HttpFoundation\Request::isSecure | ( | ) |
Checks whether the request is secure or not.
This method can read the client protocol from the "X-Forwarded-Proto" header when trusted proxies were set via "setTrustedProxies()".
The "X-Forwarded-Proto" header must contain the protocol: "https" or "http".
If your reverse proxy uses a different header name than "X-Forwarded-Proto" ("SSL_HTTPS" for instance), configure it via the $trustedHeaderSet argument of the Request::setTrustedProxies() method instead.
Definition at line 1296 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\isFromTrustedProxy().
Referenced by Symfony\Component\HttpFoundation\Response\ensureIEOverSSLCompatibility(), Symfony\Component\HttpFoundation\Request\getScheme(), and Symfony\Component\HttpFoundation\Response\prepare().
Symfony\Component\HttpFoundation\Request::isXmlHttpRequest | ( | ) |
Returns true if the request is a XMLHttpRequest.
It works if your JavaScript library sets an X-Requested-With HTTP header. It is known to work with common JavaScript frameworks:
Definition at line 1805 of file vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::isXmlHttpRequest | ( | ) |
Returns true if the request is a XMLHttpRequest.
It works if your JavaScript library sets an X-Requested-With HTTP header. It is known to work with common JavaScript frameworks:
Definition at line 1842 of file lib/vendor/symfony/http-foundation/Request.php.
|
static |
Normalizes a query string.
It builds a normalized query string, where keys/value pairs are alphabetized, have consistent escaping and unneeded delimiters are removed.
string | $qs | Query string |
Definition at line 719 of file vendor/symfony/http-foundation/Request.php.
|
static |
Normalizes a query string.
It builds a normalized query string, where keys/value pairs are alphabetized, have consistent escaping and unneeded delimiters are removed.
string | $qs | Query string |
Definition at line 796 of file lib/vendor/symfony/http-foundation/Request.php.
Symfony\Component\HttpFoundation\Request::overrideGlobals | ( | ) |
Overrides the PHP global variables according to this request instance.
It overrides $_GET, $_POST, $_REQUEST, $_SERVER, $_COOKIE. $_FILES is never overridden, see rfc1867
Definition at line 607 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$request.
Symfony\Component\HttpFoundation\Request::overrideGlobals | ( | ) |
Overrides the PHP global variables according to this request instance.
It overrides $_GET, $_POST, $_REQUEST, $_SERVER, $_COOKIE. $_FILES is never overridden, see rfc1867
Definition at line 612 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$request.
|
protected |
Prepares the base path.
Definition at line 1937 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$basePath, Symfony\Component\HttpFoundation\Request\$baseUrl, and Symfony\Component\HttpFoundation\Request\getBaseUrl().
|
protected |
Prepares the base path.
Definition at line 1968 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$basePath, Symfony\Component\HttpFoundation\Request\$baseUrl, and Symfony\Component\HttpFoundation\Request\getBaseUrl().
Referenced by Symfony\Component\HttpFoundation\Request\getBasePath().
|
protected |
Prepares the base URL.
Reimplemented in Symfony\Component\HttpFoundation\ApacheRequest, and Symfony\Component\HttpFoundation\ApacheRequest.
Definition at line 1868 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$baseUrl, Symfony\Component\HttpFoundation\Request\$requestUri, and Symfony\Component\HttpFoundation\Request\getRequestUri().
|
protected |
Prepares the base URL.
Reimplemented in Symfony\Component\HttpFoundation\ApacheRequest, and Symfony\Component\HttpFoundation\ApacheRequest.
Definition at line 1902 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$baseUrl, Symfony\Component\HttpFoundation\Request\$requestUri, and Symfony\Component\HttpFoundation\Request\getRequestUri().
Referenced by Symfony\Component\HttpFoundation\Request\getBaseUrl().
|
protected |
Prepares the path info.
Definition at line 1963 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$baseUrl, Symfony\Component\HttpFoundation\Request\$pathInfo, Symfony\Component\HttpFoundation\Request\$requestUri, Symfony\Component\HttpFoundation\Request\getBaseUrl(), and Symfony\Component\HttpFoundation\Request\getRequestUri().
|
protected |
Prepares the path info.
Definition at line 1994 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$baseUrl, Symfony\Component\HttpFoundation\Request\$pathInfo, Symfony\Component\HttpFoundation\Request\$requestUri, Symfony\Component\HttpFoundation\Request\getBaseUrl(), and Symfony\Component\HttpFoundation\Request\getRequestUri().
Referenced by Symfony\Component\HttpFoundation\Request\getPathInfo().
|
protected |
Reimplemented in Symfony\Component\HttpFoundation\ApacheRequest, and Symfony\Component\HttpFoundation\ApacheRequest.
Definition at line 1818 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$requestUri.
|
protected |
Reimplemented in Symfony\Component\HttpFoundation\ApacheRequest, and Symfony\Component\HttpFoundation\ApacheRequest.
Definition at line 1855 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$requestUri, and Symfony\Component\HttpFoundation\Request\getSchemeAndHttpHost().
Referenced by Symfony\Component\HttpFoundation\Request\getRequestUri().
Symfony\Component\HttpFoundation\Request::setDefaultLocale | ( | $locale | ) |
Sets the default locale.
string | $locale |
Definition at line 1477 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$locale.
Symfony\Component\HttpFoundation\Request::setDefaultLocale | ( | $locale | ) |
Sets the default locale.
string | $locale |
Definition at line 1552 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$locale.
|
static |
Sets a callable able to create a Request instance.
This is mainly useful when you need to override the Request class to keep BC with an existing system. It should not be used for any other purpose.
callable | null | $callable | A PHP callable |
Definition at line 488 of file vendor/symfony/http-foundation/Request.php.
|
static |
Sets a callable able to create a Request instance.
This is mainly useful when you need to override the Request class to keep BC with an existing system. It should not be used for any other purpose.
callable | null | $callable | A PHP callable |
Definition at line 509 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\testFactory().
Symfony\Component\HttpFoundation\Request::setFormat | ( | $format, | |
$mimeTypes | |||
) |
Associates a format with mime types.
string | $format | The format |
string | array | $mimeTypes | The associated mime types (the preferred one must be the first as it will be used as the content type) |
Definition at line 1419 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Symfony\Component\HttpFoundation\Request::setFormat | ( | $format, | |
$mimeTypes | |||
) |
Associates a format with mime types.
string | $format | The format |
string | array | $mimeTypes | The associated mime types (the preferred one must be the first as it will be used as the content type) |
Definition at line 1496 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Symfony\Component\HttpFoundation\Request::setLocale | ( | $locale | ) |
Sets the locale.
string | $locale |
Definition at line 1501 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$locale.
Symfony\Component\HttpFoundation\Request::setLocale | ( | $locale | ) |
Sets the locale.
string | $locale |
Definition at line 1576 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$locale.
Symfony\Component\HttpFoundation\Request::setMethod | ( | $method | ) |
Sets the request method.
string | $method |
Definition at line 1283 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$method.
Symfony\Component\HttpFoundation\Request::setMethod | ( | $method | ) |
Sets the request method.
string | $method |
Definition at line 1380 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$method.
Symfony\Component\HttpFoundation\Request::setRequestFormat | ( | $format | ) |
Sets the request format.
string | $format | The request format |
Definition at line 1457 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Symfony\Component\HttpFoundation\Request::setRequestFormat | ( | $format | ) |
Sets the request format.
string | $format | The request format |
Definition at line 1532 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$format.
Symfony\Component\HttpFoundation\Request::setSession | ( | SessionInterface | $session | ) |
Definition at line 834 of file vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$session.
Symfony\Component\HttpFoundation\Request::setSession | ( | SessionInterface | $session | ) |
Sets the Session.
SessionInterface | $session | The Session |
Definition at line 927 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\$session.
Referenced by Symfony\Component\HttpFoundation\Request\getSession().
Symfony\Component\HttpFoundation\Request::setSessionFactory | ( | callable | $factory | ) |
Definition at line 842 of file vendor/symfony/http-foundation/Request.php.
|
static |
Sets the name for trusted headers.
The following header keys are supported:
Setting an empty value allows to disable the trusted header for the given key.
string | $key | The header key |
string | $value | The header name |
Definition at line 734 of file lib/vendor/symfony/http-foundation/Request.php.
References Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_HOST, Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_IP, Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_PORT, Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_PROTO, and Symfony\Component\HttpFoundation\Request\HEADER_FORWARDED.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedHeaderName(), Symfony\Component\HttpFoundation\Tests\RequestTest\testLegacyTrustedProxies(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testSetTrustedProxiesInvalidHeaderName().
|
static |
Sets a list of trusted host patterns.
You should only list the hosts you manage using regexs.
array | $hostPatterns | A list of trusted host patterns |
Definition at line 690 of file vendor/symfony/http-foundation/Request.php.
|
static |
Sets a list of trusted host patterns.
You should only list the hosts you manage using regexs.
array | $hostPatterns | A list of trusted host patterns |
Definition at line 695 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\testTrustedHosts().
|
static |
Sets a list of trusted proxies.
You should only list the reverse proxies that you manage directly.
array | $proxies | A list of trusted proxies |
int | $trustedHeaderSet | A bit field of Request::HEADER_*, to set which headers to trust from your proxies |
Definition at line 651 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\tearDown(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetClientIpsWithAgreeingHeaders(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetClientIpsWithConflictingHeaders(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetPort(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedHeaderName(), Symfony\Component\HttpFoundation\Tests\RequestTest\testLegacyTrustedProxies(), Symfony\Component\HttpFoundation\Tests\RequestTest\testOverrideGlobals(), Symfony\Component\HttpFoundation\Tests\RequestTest\testTrustedProxiesForwarded(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testTrustedProxiesXForwardedFor().
|
static |
Sets a list of trusted proxies.
You should only list the reverse proxies that you manage directly.
array | $proxies | A list of trusted proxies, the string 'REMOTE_ADDR' will be replaced with $_SERVER['REMOTE_ADDR'] |
int | $trustedHeaderSet | A bit field of Request::HEADER_*, to set which headers to trust from your proxies |
Definition at line 649 of file vendor/symfony/http-foundation/Request.php.
|
protected |
Definition at line 205 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getAcceptableContentTypes().
string[] Request::$attributes |
Definition at line 105 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\__clone(), Symfony\Component\HttpFoundation\Request\__construct(), Symfony\Component\HttpFoundation\Request\duplicate(), and Symfony\Component\HttpFoundation\Request\initialize().
|
protected |
|
protected |
Definition at line 229 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getBaseUrl(), Symfony\Component\HttpFoundation\Request\prepareBasePath(), Symfony\Component\HttpFoundation\ApacheRequest\prepareBaseUrl(), Symfony\Component\HttpFoundation\Request\prepareBaseUrl(), and Symfony\Component\HttpFoundation\Request\preparePathInfo().
|
protected |
Definition at line 189 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getCharsets().
|
protected |
Definition at line 173 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\__construct(), Symfony\Component\HttpFoundation\Request\__toString(), Symfony\Component\HttpFoundation\Request\create(), Symfony\Component\HttpFoundation\Request\getContent(), and Symfony\Component\HttpFoundation\Request\initialize().
ParameterBag Request::$cookies |
Cookies ($_COOKIE).
Definition at line 155 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\__clone(), Symfony\Component\HttpFoundation\Request\__construct(), Symfony\Component\HttpFoundation\Request\__toString(), Symfony\Component\HttpFoundation\Request\create(), Symfony\Component\HttpFoundation\Request\duplicate(), and Symfony\Component\HttpFoundation\Request\initialize().
|
protected |
Definition at line 277 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getDefaultLocale().
|
protected |
Definition at line 197 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getEncodings().
FileBag Request::$files |
Uploaded files ($_FILES).
Definition at line 145 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\__clone(), Symfony\Component\HttpFoundation\Request\__construct(), Symfony\Component\HttpFoundation\Request\create(), Symfony\Component\HttpFoundation\Request\duplicate(), and Symfony\Component\HttpFoundation\Request\initialize().
|
protected |
Definition at line 253 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getFormat(), Symfony\Component\HttpFoundation\Request\getMimeType(), Symfony\Component\HttpFoundation\Request\getMimeTypes(), Symfony\Component\HttpFoundation\Request\getRequestFormat(), Symfony\Component\HttpFoundation\Request\setFormat(), and Symfony\Component\HttpFoundation\Request\setRequestFormat().
|
staticprotected |
Definition at line 282 of file lib/vendor/symfony/http-foundation/Request.php.
HeaderBag Request::$headers |
Headers (taken from the $_SERVER).
Definition at line 165 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\__clone().
|
staticprotected |
Definition at line 96 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getHttpMethodParameterOverride().
|
protected |
Definition at line 181 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getLanguages().
|
protected |
Definition at line 269 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getLocale(), Symfony\Component\HttpFoundation\Request\setDefaultLocale(), and Symfony\Component\HttpFoundation\Request\setLocale().
|
protected |
Definition at line 245 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\create(), Symfony\Component\HttpFoundation\Request\getMethod(), Symfony\Component\HttpFoundation\Request\isMethod(), and Symfony\Component\HttpFoundation\Request\setMethod().
|
protected |
Definition at line 213 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getPathInfo(), and Symfony\Component\HttpFoundation\Request\preparePathInfo().
ParameterBag Request::$query |
Query string parameters ($_GET).
Definition at line 125 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\__clone(), Symfony\Component\HttpFoundation\Request\__construct(), Symfony\Component\HttpFoundation\Request\create(), Symfony\Component\HttpFoundation\Request\duplicate(), and Symfony\Component\HttpFoundation\Request\initialize().
ParameterBag Request::$request |
Request body parameters ($_POST).
Definition at line 115 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\__clone(), Symfony\Component\HttpFoundation\Request\__construct(), Symfony\Component\HttpFoundation\Request\create(), Symfony\Component\HttpFoundation\Request\createFromGlobals(), Symfony\Component\HttpFoundation\Request\duplicate(), Symfony\Component\HttpFoundation\Request\initialize(), and Symfony\Component\HttpFoundation\Request\overrideGlobals().
|
staticprotected |
Definition at line 284 of file lib/vendor/symfony/http-foundation/Request.php.
|
protected |
Definition at line 221 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getRequestUri(), Symfony\Component\HttpFoundation\Request\prepareBaseUrl(), Symfony\Component\HttpFoundation\Request\preparePathInfo(), and Symfony\Component\HttpFoundation\Request\prepareRequestUri().
ServerBag Request::$server |
Server and execution environment parameters ($_SERVER).
Definition at line 135 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\__clone(), Symfony\Component\HttpFoundation\Request\__construct(), Symfony\Component\HttpFoundation\Request\create(), Symfony\Component\HttpFoundation\Request\createFromGlobals(), Symfony\Component\HttpFoundation\Request\duplicate(), and Symfony\Component\HttpFoundation\Request\initialize().
|
protected |
Definition at line 261 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getSession(), Symfony\Component\HttpFoundation\Request\hasSession(), and Symfony\Component\HttpFoundation\Request\setSession().
|
staticprotected |
Names for headers that can be trusted when using trusted proxies.
The FORWARDED header is the standard as of rfc7239.
The other headers are non-standard, but widely used by popular reverse proxies (like Apache mod_proxy or Amazon EC2).
Names for headers that can be trusted when using trusted proxies.
The FORWARDED header is the standard as of rfc7239.
The other headers are non-standard, but widely used by popular reverse proxies (like Apache mod_proxy or Amazon EC2).
Definition at line 88 of file lib/vendor/symfony/http-foundation/Request.php.
|
staticprotected |
Definition at line 70 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getTrustedHosts().
|
staticprotected |
Definition at line 75 of file lib/vendor/symfony/http-foundation/Request.php.
|
staticprotected |
Definition at line 65 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\getTrustedProxies().
const Symfony\Component\HttpFoundation\Request::HEADER_CLIENT_HOST = self::HEADER_X_FORWARDED_HOST |
Definition at line 44 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\setTrustedHeaderName(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedHeaderName(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testLegacyTrustedProxies().
const Symfony\Component\HttpFoundation\Request::HEADER_CLIENT_IP = self::HEADER_X_FORWARDED_FOR |
Definition at line 42 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\setTrustedHeaderName(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedHeaderName(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testLegacyTrustedProxies().
const Symfony\Component\HttpFoundation\Request::HEADER_CLIENT_PORT = self::HEADER_X_FORWARDED_PORT |
Definition at line 48 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\setTrustedHeaderName(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedHeaderName(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testLegacyTrustedProxies().
const Symfony\Component\HttpFoundation\Request::HEADER_CLIENT_PROTO = self::HEADER_X_FORWARDED_PROTO |
Definition at line 46 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\setTrustedHeaderName(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedHeaderName(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testLegacyTrustedProxies().
const Request::HEADER_FORWARDED = 0b00001 |
Definition at line 33 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Request\setTrustedHeaderName(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetClientIpsWithConflictingHeaders(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedHeaderName(), Symfony\Component\HttpFoundation\Tests\RequestTest\testLegacyTrustedProxies(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testTrustedProxiesForwarded().
const Request::HEADER_X_FORWARDED_ALL = 0b11110 |
Definition at line 38 of file lib/vendor/symfony/http-foundation/Request.php.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\testGetClientIpsWithAgreeingHeaders(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetClientIpsWithConflictingHeaders(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetPort(), Symfony\Component\HttpFoundation\Tests\RequestTest\testGetTrustedHeaderName(), Symfony\Component\HttpFoundation\Tests\RequestTest\testLegacyTrustedProxies(), Symfony\Component\HttpFoundation\Tests\RequestTest\testOverrideGlobals(), and Symfony\Component\HttpFoundation\Tests\RequestTest\testTrustedProxiesXForwardedFor().
const Request::HEADER_X_FORWARDED_AWS_ELB = 0b11010 |
Definition at line 39 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::HEADER_X_FORWARDED_FOR = 0b00010 |
Definition at line 34 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::HEADER_X_FORWARDED_HOST = 0b00100 |
Definition at line 35 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::HEADER_X_FORWARDED_PORT = 0b10000 |
Definition at line 37 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::HEADER_X_FORWARDED_PROTO = 0b01000 |
Definition at line 36 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::METHOD_CONNECT = 'CONNECT' |
Definition at line 59 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::METHOD_DELETE = 'DELETE' |
Definition at line 55 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::METHOD_GET = 'GET' |
Definition at line 51 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::METHOD_HEAD = 'HEAD' |
Definition at line 50 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::METHOD_OPTIONS = 'OPTIONS' |
Definition at line 57 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::METHOD_PATCH = 'PATCH' |
Definition at line 54 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::METHOD_POST = 'POST' |
Definition at line 52 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::METHOD_PURGE = 'PURGE' |
Definition at line 56 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::METHOD_PUT = 'PUT' |
Definition at line 53 of file lib/vendor/symfony/http-foundation/Request.php.
const Request::METHOD_TRACE = 'TRACE' |
Definition at line 58 of file lib/vendor/symfony/http-foundation/Request.php.