caisse-bliss/v1/.phpdoc/build/classes/Symfony-Component-HttpFoundation-Request.html
2025-02-09 16:45:35 +01:00

7582 lines
365 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/template.js"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/doctrinemigrations.html" class="">DoctrineMigrations</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/hwi.html" class="">HWI</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/hwi-bundle.html" class="">Bundle</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/caissebliss.html" class="">CaisseBliss</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/caissebliss-controller.html" class="">Controller</a>
</li>
<li>
<a href="namespaces/caissebliss-entity.html" class="">Entity</a>
</li>
<li>
<a href="namespaces/caissebliss-form.html" class="">Form</a>
</li>
<li>
<a href="namespaces/caissebliss-repository.html" class="">Repository</a>
</li>
<li>
<a href="namespaces/caissebliss-security.html" class="">Security</a>
</li>
<li>
<a href="namespaces/caissebliss-service.html" class="">Service</a>
</li>
<li>
<a href="namespaces/caissebliss-tests.html" class="">Tests</a>
</li>
<li>
<a href="namespaces/caissebliss-traits.html" class="">Traits</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/tests.html" class="">Tests</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/tests-appbundle.html" class="">AppBundle</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/app.html" class="">App</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/app-controller.html" class="">Controller</a>
</li>
<li>
<a href="namespaces/app-datafixtures.html" class="">DataFixtures</a>
</li>
<li>
<a href="namespaces/app-entity.html" class="">Entity</a>
</li>
<li>
<a href="namespaces/app-form.html" class="">Form</a>
</li>
<li>
<a href="namespaces/app-repository.html" class="">Repository</a>
</li>
<li>
<a href="namespaces/app-security.html" class="">Security</a>
</li>
<li>
<a href="namespaces/app-traits.html" class="">Traits</a>
</li>
<li>
<a href="namespaces/app-tests.html" class="">Tests</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/containervvrt4pd.html" class="">ContainerVvRT4pd</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/symfony.html" class="">Symfony</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/symfony-config.html" class="">Config</a>
</li>
<li>
<a href="namespaces/symfony-component.html" class="">Component</a>
</li>
<li>
<a href="namespaces/symfony-contracts.html" class="">Contracts</a>
</li>
<li>
<a href="namespaces/symfony-bundle.html" class="">Bundle</a>
</li>
<li>
<a href="namespaces/symfony-bridge.html" class="">Bridge</a>
</li>
<li>
<a href="namespaces/symfony-flex.html" class="">Flex</a>
</li>
<li>
<a href="namespaces/symfony-polyfill.html" class="">Polyfill</a>
</li>
<li>
<a href="namespaces/symfony-runtime.html" class="">Runtime</a>
</li>
<li>
<a href="namespaces/symfony-webpackencorebundle.html" class="">WebpackEncoreBundle</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/composer.html" class="">Composer</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/composer-autoload.html" class="">Autoload</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/doctrine.html" class="">Doctrine</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/doctrine-common.html" class="">Common</a>
</li>
<li>
<a href="namespaces/doctrine-dbal.html" class="">DBAL</a>
</li>
<li>
<a href="namespaces/doctrine-deprecations.html" class="">Deprecations</a>
</li>
<li>
<a href="namespaces/doctrine-bundle.html" class="">Bundle</a>
</li>
<li>
<a href="namespaces/doctrine-inflector.html" class="">Inflector</a>
</li>
<li>
<a href="namespaces/doctrine-instantiator.html" class="">Instantiator</a>
</li>
<li>
<a href="namespaces/doctrine-migrations.html" class="">Migrations</a>
</li>
<li>
<a href="namespaces/doctrine-orm.html" class="">ORM</a>
</li>
<li>
<a href="namespaces/doctrine-persistence.html" class="">Persistence</a>
</li>
<li>
<a href="namespaces/doctrine-sqlformatter.html" class="">SqlFormatter</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/easycorp.html" class="">EasyCorp</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/easycorp-bundle.html" class="">Bundle</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/egulias.html" class="">Egulias</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/egulias-emailvalidator.html" class="">EmailValidator</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/proxymanager.html" class="">ProxyManager</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/proxymanager-autoloader.html" class="">Autoloader</a>
</li>
<li>
<a href="namespaces/proxymanager-exception.html" class="">Exception</a>
</li>
<li>
<a href="namespaces/proxymanager-factory.html" class="">Factory</a>
</li>
<li>
<a href="namespaces/proxymanager-filelocator.html" class="">FileLocator</a>
</li>
<li>
<a href="namespaces/proxymanager-generator.html" class="">Generator</a>
</li>
<li>
<a href="namespaces/proxymanager-generatorstrategy.html" class="">GeneratorStrategy</a>
</li>
<li>
<a href="namespaces/proxymanager-inflector.html" class="">Inflector</a>
</li>
<li>
<a href="namespaces/proxymanager-proxy.html" class="">Proxy</a>
</li>
<li>
<a href="namespaces/proxymanager-proxygenerator.html" class="">ProxyGenerator</a>
</li>
<li>
<a href="namespaces/proxymanager-signature.html" class="">Signature</a>
</li>
<li>
<a href="namespaces/proxymanager-stub.html" class="">Stub</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/laminas.html" class="">Laminas</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/laminas-code.html" class="">Code</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/monolog.html" class="">Monolog</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/monolog-attribute.html" class="">Attribute</a>
</li>
<li>
<a href="namespaces/monolog-formatter.html" class="">Formatter</a>
</li>
<li>
<a href="namespaces/monolog-handler.html" class="">Handler</a>
</li>
<li>
<a href="namespaces/monolog-processor.html" class="">Processor</a>
</li>
<li>
<a href="namespaces/monolog-test.html" class="">Test</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/deepcopy.html" class="">DeepCopy</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/deepcopy-exception.html" class="">Exception</a>
</li>
<li>
<a href="namespaces/deepcopy-filter.html" class="">Filter</a>
</li>
<li>
<a href="namespaces/deepcopy-matcher.html" class="">Matcher</a>
</li>
<li>
<a href="namespaces/deepcopy-reflection.html" class="">Reflection</a>
</li>
<li>
<a href="namespaces/deepcopy-typefilter.html" class="">TypeFilter</a>
</li>
<li>
<a href="namespaces/deepcopy-typematcher.html" class="">TypeMatcher</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/phpparser.html" class="">PhpParser</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/phpparser-builder.html" class="">Builder</a>
</li>
<li>
<a href="namespaces/phpparser-comment.html" class="">Comment</a>
</li>
<li>
<a href="namespaces/phpparser-errorhandler.html" class="">ErrorHandler</a>
</li>
<li>
<a href="namespaces/phpparser-internal.html" class="">Internal</a>
</li>
<li>
<a href="namespaces/phpparser-lexer.html" class="">Lexer</a>
</li>
<li>
<a href="namespaces/phpparser-node.html" class="">Node</a>
</li>
<li>
<a href="namespaces/phpparser-nodevisitor.html" class="">NodeVisitor</a>
</li>
<li>
<a href="namespaces/phpparser-parser.html" class="">Parser</a>
</li>
<li>
<a href="namespaces/phpparser-prettyprinter.html" class="">PrettyPrinter</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/phario.html" class="">PharIo</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/phario-manifest.html" class="">Manifest</a>
</li>
<li>
<a href="namespaces/phario-version.html" class="">Version</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/phpdocumentor.html" class="">phpDocumentor</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/phpdocumentor-reflection.html" class="">Reflection</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/phpstan.html" class="">PHPStan</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/phpstan-phpdocparser.html" class="">PhpDocParser</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/phpunit.html" class="">PHPUnit</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/phpunit-framework.html" class="">Framework</a>
</li>
<li>
<a href="namespaces/phpunit-runner.html" class="">Runner</a>
</li>
<li>
<a href="namespaces/phpunit-textui.html" class="">TextUI</a>
</li>
<li>
<a href="namespaces/phpunit-util.html" class="">Util</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/psr.html" class="">Psr</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/psr-cache.html" class="">Cache</a>
</li>
<li>
<a href="namespaces/psr-container.html" class="">Container</a>
</li>
<li>
<a href="namespaces/psr-eventdispatcher.html" class="">EventDispatcher</a>
</li>
<li>
<a href="namespaces/psr-link.html" class="">Link</a>
</li>
<li>
<a href="namespaces/psr-log.html" class="">Log</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/sebastianbergmann.html" class="">SebastianBergmann</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/sebastianbergmann-codecoverage.html" class="">CodeCoverage</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-fileiterator.html" class="">FileIterator</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-invoker.html" class="">Invoker</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-template.html" class="">Template</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-timer.html" class="">Timer</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-cliparser.html" class="">CliParser</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-codeunit.html" class="">CodeUnit</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-codeunitreverselookup.html" class="">CodeUnitReverseLookup</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-comparator.html" class="">Comparator</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-complexity.html" class="">Complexity</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-diff.html" class="">Diff</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-environment.html" class="">Environment</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-exporter.html" class="">Exporter</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-globalstate.html" class="">GlobalState</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-linesofcode.html" class="">LinesOfCode</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-objectenumerator.html" class="">ObjectEnumerator</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-objectreflector.html" class="">ObjectReflector</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-recursioncontext.html" class="">RecursionContext</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-resourceoperations.html" class="">ResourceOperations</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-type.html" class="">Type</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/theseer.html" class="">TheSeer</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/theseer-tokenizer.html" class="">Tokenizer</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/twig.html" class="">Twig</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/twig-extra.html" class="">Extra</a>
</li>
<li>
<a href="namespaces/twig-cache.html" class="">Cache</a>
</li>
<li>
<a href="namespaces/twig-error.html" class="">Error</a>
</li>
<li>
<a href="namespaces/twig-extension.html" class="">Extension</a>
</li>
<li>
<a href="namespaces/twig-loader.html" class="">Loader</a>
</li>
<li>
<a href="namespaces/twig-node.html" class="">Node</a>
</li>
<li>
<a href="namespaces/twig-nodevisitor.html" class="">NodeVisitor</a>
</li>
<li>
<a href="namespaces/twig-profiler.html" class="">Profiler</a>
</li>
<li>
<a href="namespaces/twig-runtimeloader.html" class="">RuntimeLoader</a>
</li>
<li>
<a href="namespaces/twig-sandbox.html" class="">Sandbox</a>
</li>
<li>
<a href="namespaces/twig-test.html" class="">Test</a>
</li>
<li>
<a href="namespaces/twig-tokenparser.html" class="">TokenParser</a>
</li>
<li>
<a href="namespaces/twig-util.html" class="">Util</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/webmozart.html" class="">Webmozart</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/webmozart-assert.html" class="">Assert</a>
</li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/Application.html" class="">Application</a>
</h4>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -nine phpdocumentor-content">
<section>
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="namespaces/symfony.html">Symfony</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/symfony-component.html">Component</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/symfony-component-httpfoundation.html">HttpFoundation</a></li>
</ul>
<article class="phpdocumentor-element -class">
<h2 class="phpdocumentor-content__title">
Request
<div class="phpdocumentor-element__package">
in package
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
</ul>
</div>
</h2>
<div class="phpdocumentor-label-line">
</div>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">42</span>
</aside>
<p class="phpdocumentor-summary">Request represents an HTTP request.</p>
<section class="phpdocumentor-description"><p>The methods dealing with URL accept / return a raw path (% encoded):</p>
<ul>
<li>getBasePath</li>
<li>getBaseUrl</li>
<li>getPathInfo</li>
<li>getRequestUri</li>
<li>getUri</li>
<li>getUriForPath</li>
</ul>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">author</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Fabien Potencier <a href="mailto:fabien@symfony.com">fabien@symfony.com</a></p>
</section>
</dd>
</dl>
<h3 id="toc">
Table of Contents
<a href="classes/Symfony-Component-HttpFoundation-Request.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<h4 id="toc-constants">
Constants
<a href="classes/Symfony-Component-HttpFoundation-Request.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_FORWARDED">HEADER_FORWARDED</a>
<span>
&nbsp;= 0b1 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_AWS_ELB">HEADER_X_FORWARDED_AWS_ELB</a>
<span>
&nbsp;= 0b11010 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_FOR">HEADER_X_FORWARDED_FOR</a>
<span>
&nbsp;= 0b10 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_HOST">HEADER_X_FORWARDED_HOST</a>
<span>
&nbsp;= 0b100 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_PORT">HEADER_X_FORWARDED_PORT</a>
<span>
&nbsp;= 0b10000 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_PREFIX">HEADER_X_FORWARDED_PREFIX</a>
<span>
&nbsp;= 0b100000 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_PROTO">HEADER_X_FORWARDED_PROTO</a>
<span>
&nbsp;= 0b1000 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_TRAEFIK">HEADER_X_FORWARDED_TRAEFIK</a>
<span>
&nbsp;= 0b111110 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_CONNECT">METHOD_CONNECT</a>
<span>
&nbsp;= &#039;CONNECT&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_DELETE">METHOD_DELETE</a>
<span>
&nbsp;= &#039;DELETE&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_GET">METHOD_GET</a>
<span>
&nbsp;= &#039;GET&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_HEAD">METHOD_HEAD</a>
<span>
&nbsp;= &#039;HEAD&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_OPTIONS">METHOD_OPTIONS</a>
<span>
&nbsp;= &#039;OPTIONS&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_PATCH">METHOD_PATCH</a>
<span>
&nbsp;= &#039;PATCH&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_POST">METHOD_POST</a>
<span>
&nbsp;= &#039;POST&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_PURGE">METHOD_PURGE</a>
<span>
&nbsp;= &#039;PURGE&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_PUT">METHOD_PUT</a>
<span>
&nbsp;= &#039;PUT&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_TRACE">METHOD_TRACE</a>
<span>
&nbsp;= &#039;TRACE&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_FORWARDED_PARAMS">FORWARDED_PARAMS</a>
<span>
&nbsp;= [self::HEADER_X_FORWARDED_FOR =&gt; &#039;for&#039;, self::HEADER_X_FORWARDED_HOST =&gt; &#039;host&#039;, self::HEADER_X_FORWARDED_PROTO =&gt; &#039;proto&#039;, self::HEADER_X_FORWARDED_PORT =&gt; &#039;host&#039;] </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_TRUSTED_HEADERS">TRUSTED_HEADERS</a>
<span>
&nbsp;= [self::HEADER_FORWARDED =&gt; &#039;FORWARDED&#039;, self::HEADER_X_FORWARDED_FOR =&gt; &#039;X_FORWARDED_FOR&#039;, self::HEADER_X_FORWARDED_HOST =&gt; &#039;X_FORWARDED_HOST&#039;, self::HEADER_X_FORWARDED_PROTO =&gt; &#039;X_FORWARDED_PROTO&#039;, self::HEADER_X_FORWARDED_PORT =&gt; &#039;X_FORWARDED_PORT&#039;, self::HEADER_X_FORWARDED_PREFIX =&gt; &#039;X_FORWARDED_PREFIX&#039;] </span>
</dt>
<dd>Names for headers that can be trusted when
using trusted proxies.</dd>
</dl>
<h4 id="toc-properties">
Properties
<a href="classes/Symfony-Component-HttpFoundation-Request.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_attributes">$attributes</a>
<span>
&nbsp;: <a href="classes/Symfony-Component-HttpFoundation-ParameterBag.html"><abbr title="\Symfony\Component\HttpFoundation\ParameterBag">ParameterBag</abbr></a> </span>
</dt>
<dd>Custom parameters.</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_cookies">$cookies</a>
<span>
&nbsp;: <a href="classes/Symfony-Component-HttpFoundation-InputBag.html"><abbr title="\Symfony\Component\HttpFoundation\InputBag">InputBag</abbr></a> </span>
</dt>
<dd>Cookies ($_COOKIE).</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_files">$files</a>
<span>
&nbsp;: <a href="classes/Symfony-Component-HttpFoundation-FileBag.html"><abbr title="\Symfony\Component\HttpFoundation\FileBag">FileBag</abbr></a> </span>
</dt>
<dd>Uploaded files ($_FILES).</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_headers">$headers</a>
<span>
&nbsp;: <a href="classes/Symfony-Component-HttpFoundation-HeaderBag.html"><abbr title="\Symfony\Component\HttpFoundation\HeaderBag">HeaderBag</abbr></a> </span>
</dt>
<dd>Headers (taken from the $_SERVER).</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_query">$query</a>
<span>
&nbsp;: <a href="classes/Symfony-Component-HttpFoundation-InputBag.html"><abbr title="\Symfony\Component\HttpFoundation\InputBag">InputBag</abbr></a> </span>
</dt>
<dd>Query string parameters ($_GET).</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_request">$request</a>
<span>
&nbsp;: <a href="classes/Symfony-Component-HttpFoundation-InputBag.html"><abbr title="\Symfony\Component\HttpFoundation\InputBag">InputBag</abbr></a> </span>
</dt>
<dd>Request body parameters ($_POST).</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_server">$server</a>
<span>
&nbsp;: <a href="classes/Symfony-Component-HttpFoundation-ServerBag.html"><abbr title="\Symfony\Component\HttpFoundation\ServerBag">ServerBag</abbr></a> </span>
</dt>
<dd>Server and execution environment parameters ($_SERVER).</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_acceptableContentTypes">$acceptableContentTypes</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_basePath">$basePath</a>
<span>
&nbsp;: string </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_baseUrl">$baseUrl</a>
<span>
&nbsp;: string </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_charsets">$charsets</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_content">$content</a>
<span>
&nbsp;: string|resource|false|null </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_defaultLocale">$defaultLocale</a>
<span>
&nbsp;: string </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_encodings">$encodings</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_format">$format</a>
<span>
&nbsp;: string </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_formats">$formats</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_httpMethodParameterOverride">$httpMethodParameterOverride</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_languages">$languages</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_locale">$locale</a>
<span>
&nbsp;: string </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_method">$method</a>
<span>
&nbsp;: string </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_pathInfo">$pathInfo</a>
<span>
&nbsp;: string </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_requestFactory">$requestFactory</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_requestUri">$requestUri</a>
<span>
&nbsp;: string </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_session">$session</a>
<span>
&nbsp;: <a href="classes/Symfony-Component-HttpFoundation-Session-SessionInterface.html"><abbr title="\Symfony\Component\HttpFoundation\Session\SessionInterface">SessionInterface</abbr></a>|callable </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedHostPatterns">$trustedHostPatterns</a>
<span>
&nbsp;: array&lt;string|int, string&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedHosts">$trustedHosts</a>
<span>
&nbsp;: array&lt;string|int, string&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedProxies">$trustedProxies</a>
<span>
&nbsp;: array&lt;string|int, string&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_isForwardedValid">$isForwardedValid</a>
<span>
&nbsp;: bool </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_isHostValid">$isHostValid</a>
<span>
&nbsp;: bool </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_isSafeContentPreferred">$isSafeContentPreferred</a>
<span>
&nbsp;: bool </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_preferredFormat">$preferredFormat</a>
<span>
&nbsp;: string|null </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedHeaderSet">$trustedHeaderSet</a>
<span>
&nbsp;: int </span>
</dt>
</dl>
<h4 id="toc-methods">
Methods
<a href="classes/Symfony-Component-HttpFoundation-Request.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method___clone">__clone()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Clones the current request.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method___construct">__construct()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method___toString">__toString()</a>
<span>
&nbsp;: string </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_create">create()</a>
<span>
&nbsp;: static </span>
</dt>
<dd>Creates a Request based on a given URI and configuration.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_createFromGlobals">createFromGlobals()</a>
<span>
&nbsp;: static </span>
</dt>
<dd>Creates a new request with values from PHP&#039;s super globals.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_duplicate">duplicate()</a>
<span>
&nbsp;: static </span>
</dt>
<dd>Clones a request and overrides some of its parameters.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_enableHttpMethodParameterOverride">enableHttpMethodParameterOverride()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Enables support for the _method request parameter to determine the intended HTTP method.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getAcceptableContentTypes">getAcceptableContentTypes()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Gets a list of content types acceptable by the client browser in preferable order.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getBasePath">getBasePath()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the root path from which this request is executed.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getBaseUrl">getBaseUrl()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the root URL from which this request is executed.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getCharsets">getCharsets()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Gets a list of charsets acceptable by the client browser in preferable order.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getClientIp">getClientIp()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Returns the client IP address.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getClientIps">getClientIps()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Returns the client IP addresses.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getContent">getContent()</a>
<span>
&nbsp;: string|resource </span>
</dt>
<dd>Returns the request body content.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getContentType">getContentType()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Gets the format associated with the request.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getDefaultLocale">getDefaultLocale()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Get the default locale.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getEncodings">getEncodings()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Gets a list of encodings acceptable by the client browser in preferable order.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getETags">getETags()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Gets the Etags.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getFormat">getFormat()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Gets the format associated with the mime type.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getHost">getHost()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the host name.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getHttpHost">getHttpHost()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the HTTP host being requested.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getHttpMethodParameterOverride">getHttpMethodParameterOverride()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks whether support for the _method request parameter is enabled.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getLanguages">getLanguages()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Gets a list of languages acceptable by the client browser ordered in the user browser preferences.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getLocale">getLocale()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Get the locale.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getMethod">getMethod()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Gets the request &quot;intended&quot; method.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getMimeType">getMimeType()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Gets the mime type associated with the format.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getMimeTypes">getMimeTypes()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Gets the mime types associated with the format.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPassword">getPassword()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Returns the password.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPathInfo">getPathInfo()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the path being requested relative to the executed script.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPort">getPort()</a>
<span>
&nbsp;: int|string|null </span>
</dt>
<dd>Returns the port on which the request is made.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPreferredFormat">getPreferredFormat()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Gets the preferred format for the response by inspecting, in the following order:
* the request format set using setRequestFormat;
* the values of the Accept HTTP header.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPreferredLanguage">getPreferredLanguage()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Returns the preferred language.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getProtocolVersion">getProtocolVersion()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Returns the protocol version.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getQueryString">getQueryString()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Generates the normalized query string for the Request.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRealMethod">getRealMethod()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Gets the &quot;real&quot; request method.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRelativeUriForPath">getRelativeUriForPath()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the path as relative reference from the current Request path.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRequestFormat">getRequestFormat()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Gets the request format.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRequestUri">getRequestUri()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the requested URI (path and query string).</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getScheme">getScheme()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Gets the request&#039;s scheme.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getSchemeAndHttpHost">getSchemeAndHttpHost()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Gets the scheme and HTTP host.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getScriptName">getScriptName()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns current script name.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getSession">getSession()</a>
<span>
&nbsp;: <a href="classes/Symfony-Component-HttpFoundation-Session-SessionInterface.html"><abbr title="\Symfony\Component\HttpFoundation\Session\SessionInterface">SessionInterface</abbr></a> </span>
</dt>
<dd>Gets the Session.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedHeaderSet">getTrustedHeaderSet()</a>
<span>
&nbsp;: int </span>
</dt>
<dd>Gets the set of trusted headers from trusted proxies.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedHosts">getTrustedHosts()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Gets the list of trusted host patterns.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedProxies">getTrustedProxies()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Gets the list of trusted proxies.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUri">getUri()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Generates a normalized URI (URL) for the Request.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUriForPath">getUriForPath()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Generates a normalized URI for the given path.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUser">getUser()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Returns the user.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUserInfo">getUserInfo()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Gets the user info.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_hasPreviousSession">hasPreviousSession()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Whether the request contains a Session which was started in one of the
previous requests.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_hasSession">hasSession()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Whether the request contains a Session object.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_initialize">initialize()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Sets the parameters for this request.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isFromTrustedProxy">isFromTrustedProxy()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Indicates whether this request originated from a trusted proxy.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethod">isMethod()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks if the request method is of specified type.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodCacheable">isMethodCacheable()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks whether the method is cacheable or not.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodIdempotent">isMethodIdempotent()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks whether or not the method is idempotent.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodSafe">isMethodSafe()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks whether or not the method is safe.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isNoCache">isNoCache()</a>
<span>
&nbsp;: bool </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isSecure">isSecure()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks whether the request is secure or not.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isXmlHttpRequest">isXmlHttpRequest()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Returns true if the request is an XMLHttpRequest.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_normalizeQueryString">normalizeQueryString()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Normalizes a query string.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_overrideGlobals">overrideGlobals()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Overrides the PHP global variables according to this request instance.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_preferSafeContent">preferSafeContent()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks whether the client browser prefers safe content or not according to RFC8674.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setDefaultLocale">setDefaultLocale()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Sets the default locale.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setFactory">setFactory()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Sets a callable able to create a Request instance.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setFormat">setFormat()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Associates a format with mime types.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setLocale">setLocale()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Sets the locale.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setMethod">setMethod()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Sets the request method.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setRequestFormat">setRequestFormat()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Sets the request format.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setSession">setSession()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setTrustedHosts">setTrustedHosts()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Sets a list of trusted host patterns.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setTrustedProxies">setTrustedProxies()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Sets a list of trusted proxies.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_toArray">toArray()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Gets the request body decoded as array, typically from a JSON payload.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_initializeFormats">initializeFormats()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Initializes HTTP request formats.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_prepareBasePath">prepareBasePath()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Prepares the base path.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_prepareBaseUrl">prepareBaseUrl()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Prepares the base URL.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_preparePathInfo">preparePathInfo()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Prepares the path info.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_prepareRequestUri">prepareRequestUri()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_createRequestFromFactory">createRequestFromFactory()</a>
<span>
&nbsp;: static </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getBaseUrlReal">getBaseUrlReal()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the real base URL received by the webserver from which this request is executed.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedValues">getTrustedValues()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUrlencodedPrefix">getUrlencodedPrefix()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Returns the prefix as encoded in the string when the string starts with
the given prefix, null otherwise.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_normalizeAndFilterClientIps">normalizeAndFilterClientIps()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setPhpDefaultLocale">setPhpDefaultLocale()</a>
<span>
&nbsp;: void </span>
</dt>
</dl>
<section class="phpdocumentor-constants">
<h3 class="phpdocumentor-elements__header" id="constants">
Constants
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_HEADER_FORWARDED">
HEADER_FORWARDED
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_FORWARDED" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">44</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">HEADER_FORWARDED</span>
= <span class="phpdocumentor-signature__default-value">0b1</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_HEADER_X_FORWARDED_AWS_ELB">
HEADER_X_FORWARDED_AWS_ELB
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_AWS_ELB" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">51</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">HEADER_X_FORWARDED_AWS_ELB</span>
= <span class="phpdocumentor-signature__default-value">0b11010</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_HEADER_X_FORWARDED_FOR">
HEADER_X_FORWARDED_FOR
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_FOR" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">45</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">HEADER_X_FORWARDED_FOR</span>
= <span class="phpdocumentor-signature__default-value">0b10</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_HEADER_X_FORWARDED_HOST">
HEADER_X_FORWARDED_HOST
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_HOST" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">46</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">HEADER_X_FORWARDED_HOST</span>
= <span class="phpdocumentor-signature__default-value">0b100</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_HEADER_X_FORWARDED_PORT">
HEADER_X_FORWARDED_PORT
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_PORT" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">48</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">HEADER_X_FORWARDED_PORT</span>
= <span class="phpdocumentor-signature__default-value">0b10000</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_HEADER_X_FORWARDED_PREFIX">
HEADER_X_FORWARDED_PREFIX
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_PREFIX" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">49</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">HEADER_X_FORWARDED_PREFIX</span>
= <span class="phpdocumentor-signature__default-value">0b100000</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_HEADER_X_FORWARDED_PROTO">
HEADER_X_FORWARDED_PROTO
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_PROTO" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">47</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">HEADER_X_FORWARDED_PROTO</span>
= <span class="phpdocumentor-signature__default-value">0b1000</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_HEADER_X_FORWARDED_TRAEFIK">
HEADER_X_FORWARDED_TRAEFIK
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_TRAEFIK" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">52</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">HEADER_X_FORWARDED_TRAEFIK</span>
= <span class="phpdocumentor-signature__default-value">0b111110</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_METHOD_CONNECT">
METHOD_CONNECT
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_CONNECT" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">63</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">METHOD_CONNECT</span>
= <span class="phpdocumentor-signature__default-value">&#039;CONNECT&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_METHOD_DELETE">
METHOD_DELETE
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_DELETE" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">59</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">METHOD_DELETE</span>
= <span class="phpdocumentor-signature__default-value">&#039;DELETE&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_METHOD_GET">
METHOD_GET
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_GET" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">55</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">METHOD_GET</span>
= <span class="phpdocumentor-signature__default-value">&#039;GET&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_METHOD_HEAD">
METHOD_HEAD
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_HEAD" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">54</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">METHOD_HEAD</span>
= <span class="phpdocumentor-signature__default-value">&#039;HEAD&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_METHOD_OPTIONS">
METHOD_OPTIONS
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_OPTIONS" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">61</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">METHOD_OPTIONS</span>
= <span class="phpdocumentor-signature__default-value">&#039;OPTIONS&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_METHOD_PATCH">
METHOD_PATCH
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_PATCH" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">58</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">METHOD_PATCH</span>
= <span class="phpdocumentor-signature__default-value">&#039;PATCH&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_METHOD_POST">
METHOD_POST
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_POST" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">56</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">METHOD_POST</span>
= <span class="phpdocumentor-signature__default-value">&#039;POST&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_METHOD_PURGE">
METHOD_PURGE
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_PURGE" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">60</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">METHOD_PURGE</span>
= <span class="phpdocumentor-signature__default-value">&#039;PURGE&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_METHOD_PUT">
METHOD_PUT
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_PUT" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">57</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">METHOD_PUT</span>
= <span class="phpdocumentor-signature__default-value">&#039;PUT&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_METHOD_TRACE">
METHOD_TRACE
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_TRACE" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">62</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">METHOD_TRACE</span>
= <span class="phpdocumentor-signature__default-value">&#039;TRACE&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -private ">
<h4 class="phpdocumentor-element__name" id="constant_FORWARDED_PARAMS">
FORWARDED_PARAMS
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_FORWARDED_PARAMS" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">215</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">FORWARDED_PARAMS</span>
= <span class="phpdocumentor-signature__default-value">[self::HEADER_X_FORWARDED_FOR =&gt; &#039;for&#039;, self::HEADER_X_FORWARDED_HOST =&gt; &#039;host&#039;, self::HEADER_X_FORWARDED_PROTO =&gt; &#039;proto&#039;, self::HEADER_X_FORWARDED_PORT =&gt; &#039;host&#039;]</span>
</code>
</article>
<article class="phpdocumentor-element -constant -private ">
<h4 class="phpdocumentor-element__name" id="constant_TRUSTED_HEADERS">
TRUSTED_HEADERS
<a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_TRUSTED_HEADERS" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">231</span>
</aside>
<p class="phpdocumentor-summary">Names for headers that can be trusted when
using trusted proxies.</p>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">TRUSTED_HEADERS</span>
= <span class="phpdocumentor-signature__default-value">[self::HEADER_FORWARDED =&gt; &#039;FORWARDED&#039;, self::HEADER_X_FORWARDED_FOR =&gt; &#039;X_FORWARDED_FOR&#039;, self::HEADER_X_FORWARDED_HOST =&gt; &#039;X_FORWARDED_HOST&#039;, self::HEADER_X_FORWARDED_PROTO =&gt; &#039;X_FORWARDED_PROTO&#039;, self::HEADER_X_FORWARDED_PORT =&gt; &#039;X_FORWARDED_PORT&#039;, self::HEADER_X_FORWARDED_PREFIX =&gt; &#039;X_FORWARDED_PREFIX&#039;]</span>
</code>
<section class="phpdocumentor-description"><p>The FORWARDED header is the standard as of rfc7239.</p>
<p>The other headers are non-standard, but widely used
by popular reverse proxies (like Apache mod_proxy or Amazon EC2).</p>
</section>
</article>
</section>
<section class="phpdocumentor-properties">
<h3 class="phpdocumentor-elements__header" id="properties">
Properties
<a href="classes/Symfony-Component-HttpFoundation-Request.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_attributes">
$attributes
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_attributes" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">87</span>
</aside>
<p class="phpdocumentor-summary">Custom parameters.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type"><a href="classes/Symfony-Component-HttpFoundation-ParameterBag.html"><abbr title="\Symfony\Component\HttpFoundation\ParameterBag">ParameterBag</abbr></a></span>
<span class="phpdocumentor-signature__name">$attributes</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_cookies">
$cookies
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_cookies" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">122</span>
</aside>
<p class="phpdocumentor-summary">Cookies ($_COOKIE).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type"><a href="classes/Symfony-Component-HttpFoundation-InputBag.html"><abbr title="\Symfony\Component\HttpFoundation\InputBag">InputBag</abbr></a></span>
<span class="phpdocumentor-signature__name">$cookies</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_files">
$files
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_files" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">115</span>
</aside>
<p class="phpdocumentor-summary">Uploaded files ($_FILES).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type"><a href="classes/Symfony-Component-HttpFoundation-FileBag.html"><abbr title="\Symfony\Component\HttpFoundation\FileBag">FileBag</abbr></a></span>
<span class="phpdocumentor-signature__name">$files</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_headers">
$headers
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_headers" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">129</span>
</aside>
<p class="phpdocumentor-summary">Headers (taken from the $_SERVER).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type"><a href="classes/Symfony-Component-HttpFoundation-HeaderBag.html"><abbr title="\Symfony\Component\HttpFoundation\HeaderBag">HeaderBag</abbr></a></span>
<span class="phpdocumentor-signature__name">$headers</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_query">
$query
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_query" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">101</span>
</aside>
<p class="phpdocumentor-summary">Query string parameters ($_GET).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type"><a href="classes/Symfony-Component-HttpFoundation-InputBag.html"><abbr title="\Symfony\Component\HttpFoundation\InputBag">InputBag</abbr></a></span>
<span class="phpdocumentor-signature__name">$query</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_request">
$request
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_request" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">94</span>
</aside>
<p class="phpdocumentor-summary">Request body parameters ($_POST).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type"><a href="classes/Symfony-Component-HttpFoundation-InputBag.html"><abbr title="\Symfony\Component\HttpFoundation\InputBag">InputBag</abbr></a></span>
<span class="phpdocumentor-signature__name">$request</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_server">
$server
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_server" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">108</span>
</aside>
<p class="phpdocumentor-summary">Server and execution environment parameters ($_SERVER).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type"><a href="classes/Symfony-Component-HttpFoundation-ServerBag.html"><abbr title="\Symfony\Component\HttpFoundation\ServerBag">ServerBag</abbr></a></span>
<span class="phpdocumentor-signature__name">$server</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_acceptableContentTypes">
$acceptableContentTypes
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_acceptableContentTypes" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">154</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$acceptableContentTypes</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_basePath">
$basePath
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_basePath" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">174</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">string</span>
<span class="phpdocumentor-signature__name">$basePath</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_baseUrl">
$baseUrl
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_baseUrl" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">169</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">string</span>
<span class="phpdocumentor-signature__name">$baseUrl</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_charsets">
$charsets
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_charsets" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">144</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$charsets</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_content">
$content
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_content" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">134</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">string|resource|false|null</span>
<span class="phpdocumentor-signature__name">$content</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_defaultLocale">
$defaultLocale
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_defaultLocale" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">199</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">string</span>
<span class="phpdocumentor-signature__name">$defaultLocale</span>
= <span class="phpdocumentor-signature__default-value">&#039;en&#039;</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_encodings">
$encodings
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_encodings" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">149</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$encodings</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_format">
$format
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_format" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">184</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">string</span>
<span class="phpdocumentor-signature__name">$format</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="property_formats">
$formats
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_formats" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">204</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$formats</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="property_httpMethodParameterOverride">
$httpMethodParameterOverride
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_httpMethodParameterOverride" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">80</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$httpMethodParameterOverride</span>
= <span class="phpdocumentor-signature__default-value">false</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_languages">
$languages
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_languages" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">139</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$languages</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_locale">
$locale
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_locale" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">194</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">string</span>
<span class="phpdocumentor-signature__name">$locale</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_method">
$method
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_method" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">179</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">string</span>
<span class="phpdocumentor-signature__name">$method</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_pathInfo">
$pathInfo
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_pathInfo" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">159</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">string</span>
<span class="phpdocumentor-signature__name">$pathInfo</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="property_requestFactory">
$requestFactory
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_requestFactory" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">206</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$requestFactory</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_requestUri">
$requestUri
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_requestUri" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">164</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">string</span>
<span class="phpdocumentor-signature__name">$requestUri</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_session">
$session
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_session" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">189</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type"><a href="classes/Symfony-Component-HttpFoundation-Session-SessionInterface.html"><abbr title="\Symfony\Component\HttpFoundation\Session\SessionInterface">SessionInterface</abbr></a>|callable</span>
<span class="phpdocumentor-signature__name">$session</span>
</code>
<section class="phpdocumentor-description"><p>SessionInterface</p>
</section>
</article>
<article
class="
phpdocumentor-element
-property
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="property_trustedHostPatterns">
$trustedHostPatterns
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedHostPatterns" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">73</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, string&gt;</span>
<span class="phpdocumentor-signature__name">$trustedHostPatterns</span>
= <span class="phpdocumentor-signature__default-value">[]</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="property_trustedHosts">
$trustedHosts
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedHosts" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">78</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, string&gt;</span>
<span class="phpdocumentor-signature__name">$trustedHosts</span>
= <span class="phpdocumentor-signature__default-value">[]</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="property_trustedProxies">
$trustedProxies
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedProxies" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">68</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, string&gt;</span>
<span class="phpdocumentor-signature__name">$trustedProxies</span>
= <span class="phpdocumentor-signature__default-value">[]</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_isForwardedValid">
$isForwardedValid
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_isForwardedValid" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">210</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">bool</span>
<span class="phpdocumentor-signature__name">$isForwardedValid</span>
= <span class="phpdocumentor-signature__default-value">true</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_isHostValid">
$isHostValid
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_isHostValid" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">209</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">bool</span>
<span class="phpdocumentor-signature__name">$isHostValid</span>
= <span class="phpdocumentor-signature__default-value">true</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_isSafeContentPreferred">
$isSafeContentPreferred
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_isSafeContentPreferred" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">211</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">bool</span>
<span class="phpdocumentor-signature__name">$isSafeContentPreferred</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_preferredFormat">
$preferredFormat
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_preferredFormat" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">208</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">string|null</span>
<span class="phpdocumentor-signature__name">$preferredFormat</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
-static "
>
<h4 class="phpdocumentor-element__name" id="property_trustedHeaderSet">
$trustedHeaderSet
<a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedHeaderSet" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">213</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">int</span>
<span class="phpdocumentor-signature__name">$trustedHeaderSet</span>
= <span class="phpdocumentor-signature__default-value">-1</span></code>
</article>
</section>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/Symfony-Component-HttpFoundation-Request.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___clone">
__clone()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method___clone" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">486</span>
</aside>
<p class="phpdocumentor-summary">Clones the current request.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__clone</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Note that the session is not cloned as duplicated requests
are most of the time sub-requests of the main one.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___construct">
__construct()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">249</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$query</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$request</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$attributes</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cookies</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$files</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$server</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|resource|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$content</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$query</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The GET parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$request</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The POST parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$attributes</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The request attributes (parameters parsed from the PATH_INFO, ...)</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cookies</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The COOKIE parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$files</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The FILES parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$server</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The SERVER parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$content</span>
: <span class="phpdocumentor-signature__argument__return-type">string|resource|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The raw body data</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___toString">
__toString()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method___toString" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">497</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__toString</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_create">
create()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_create" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">321</span>
</aside>
<p class="phpdocumentor-summary">Creates a Request based on a given URI and configuration.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">create</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$uri</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$method</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;GET&#039;</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$parameters</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cookies</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$files</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$server</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|resource|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$content</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">static</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>The information contained in the URI always take precedence
over the other information (server and parameters).</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$uri</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The URI</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$method</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">&#039;GET&#039;</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The HTTP method</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$parameters</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The query (GET) or request (POST) parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cookies</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The request cookies ($_COOKIE)</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$files</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The request files ($_FILES)</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$server</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The server parameters ($_SERVER)</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$content</span>
: <span class="phpdocumentor-signature__argument__return-type">string|resource|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The raw body data</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">static</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_createFromGlobals">
createFromGlobals()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_createFromGlobals" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">293</span>
</aside>
<p class="phpdocumentor-summary">Creates a new request with values from PHP&#039;s super globals.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">createFromGlobals</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">static</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">static</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_duplicate">
duplicate()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_duplicate" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">436</span>
</aside>
<p class="phpdocumentor-summary">Clones a request and overrides some of its parameters.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">duplicate</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$query</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$request</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$attributes</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cookies</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$files</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$server</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">static</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$query</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The GET parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$request</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The POST parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$attributes</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The request attributes (parameters parsed from the PATH_INFO, ...)</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cookies</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The COOKIE parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$files</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The FILES parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$server</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The SERVER parameters</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">static</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_enableHttpMethodParameterOverride">
enableHttpMethodParameterOverride()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_enableHttpMethodParameterOverride" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">650</span>
</aside>
<p class="phpdocumentor-summary">Enables support for the _method request parameter to determine the intended HTTP method.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">enableHttpMethodParameterOverride</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>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 &quot;POST&quot; can be altered
and used to send a &quot;PUT&quot; or &quot;DELETE&quot; request via the _method request parameter.
If these methods are not protected against CSRF, this presents a possible vulnerability.</p>
<p>The HTTP method can only be overridden when the real HTTP method is POST.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getAcceptableContentTypes">
getAcceptableContentTypes()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getAcceptableContentTypes" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1633</span>
</aside>
<p class="phpdocumentor-summary">Gets a list of content types acceptable by the client browser in preferable order.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getAcceptableContentTypes</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getBasePath">
getBasePath()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getBasePath" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">835</span>
</aside>
<p class="phpdocumentor-summary">Returns the root path from which this request is executed.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getBasePath</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Suppose that an index.php file instantiates this request object:</p>
<ul>
<li>http://localhost/index.php returns an empty string</li>
<li>http://localhost/index.php/page returns an empty string</li>
<li>http://localhost/web/index.php returns '/web'</li>
<li>http://localhost/we%20b/index.php returns '/we%20b'</li>
</ul>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p>The raw path (i.e. not urldecoded)</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getBaseUrl">
getBaseUrl()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getBaseUrl" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">854</span>
</aside>
<p class="phpdocumentor-summary">Returns the root URL from which this request is executed.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getBaseUrl</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>The base URL never ends with a /.</p>
<p>This is similar to getBasePath(), except that it also includes the
script filename (e.g. index.php) if one exists.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p>The raw URL (i.e. not urldecoded)</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getCharsets">
getCharsets()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getCharsets" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1609</span>
</aside>
<p class="phpdocumentor-summary">Gets a list of charsets acceptable by the client browser in preferable order.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getCharsets</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getClientIp">
getClientIp()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getClientIp" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">785</span>
</aside>
<p class="phpdocumentor-summary">Returns the client IP address.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getClientIp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>This method can read the client IP address from the &quot;X-Forwarded-For&quot; header
when trusted proxies were set via &quot;setTrustedProxies()&quot;. The &quot;X-Forwarded-For&quot;
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.</p>
<p>If your reverse proxy uses a different header name than &quot;X-Forwarded-For&quot;,
(&quot;Client-Ip&quot; for instance), configure it via the $trustedHeaderSet
argument of the Request::setTrustedProxies() method instead.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getClientIp#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><abbr title="\Symfony\Component\HttpFoundation\getClientIps()">getClientIps()</abbr></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://wikipedia.org/wiki/X-Forwarded-For">https://wikipedia.org/wiki/X-Forwarded-For</a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getClientIps">
getClientIps()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getClientIps" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">758</span>
</aside>
<p class="phpdocumentor-summary">Returns the client IP addresses.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getClientIps</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>In the returned array the most trusted IP address is first, and the
least trusted one last. The &quot;real&quot; client IP address is the last one,
but this is also the least trusted one. Trusted proxies are stripped.</p>
<p>Use this method carefully; you should use getClientIp() instead.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getClientIps#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><abbr title="\Symfony\Component\HttpFoundation\getClientIp()">getClientIp()</abbr></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getContent">
getContent()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getContent" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1436</span>
</aside>
<p class="phpdocumentor-summary">Returns the request body content.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getContent</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$asResource</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|resource</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$asResource</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>If true, a resource will be returned</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|resource</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getContentType">
getContentType()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getContentType" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1328</span>
</aside>
<p class="phpdocumentor-summary">Gets the format associated with the request.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getContentType</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getDefaultLocale">
getDefaultLocale()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getDefaultLocale" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1348</span>
</aside>
<p class="phpdocumentor-summary">Get the default locale.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getDefaultLocale</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getEncodings">
getEncodings()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getEncodings" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1621</span>
</aside>
<p class="phpdocumentor-summary">Gets a list of encodings acceptable by the client browser in preferable order.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getEncodings</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getETags">
getETags()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getETags" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1501</span>
</aside>
<p class="phpdocumentor-summary">Gets the Etags.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getETags</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getFormat">
getFormat()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getFormat" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1260</span>
</aside>
<p class="phpdocumentor-summary">Gets the format associated with the mime type.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mimeType</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$mimeType</span>
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getHost">
getHost()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getHost" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1114</span>
</aside>
<p class="phpdocumentor-summary">Returns the host name.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getHost</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>This method can read the client host name from the &quot;X-Forwarded-Host&quot; header
when trusted proxies were set via &quot;setTrustedProxies()&quot;.</p>
<p>The &quot;X-Forwarded-Host&quot; header must contain the client host name.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getHost#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-HttpFoundation-Exception-SuspiciousOperationException.html"><abbr title="\Symfony\Component\HttpFoundation\Exception\SuspiciousOperationException">SuspiciousOperationException</abbr></a></span>
<section class="phpdocumentor-description"><p>when the host name is invalid or not trusted</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getHttpHost">
getHttpHost()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getHttpHost" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">960</span>
</aside>
<p class="phpdocumentor-summary">Returns the HTTP host being requested.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getHttpHost</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>The port name will be appended to the host if it's non-standard.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_getHttpMethodParameterOverride">
getHttpMethodParameterOverride()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getHttpMethodParameterOverride" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">658</span>
</aside>
<p class="phpdocumentor-summary">Checks whether support for the _method request parameter is enabled.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getHttpMethodParameterOverride</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getLanguages">
getLanguages()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getLanguages" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1570</span>
</aside>
<p class="phpdocumentor-summary">Gets a list of languages acceptable by the client browser ordered in the user browser preferences.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getLanguages</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getLocale">
getLocale()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getLocale" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1364</span>
</aside>
<p class="phpdocumentor-summary">Get the locale.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getLocale</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getMethod">
getMethod()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getMethod" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1188</span>
</aside>
<p class="phpdocumentor-summary">Gets the request &quot;intended&quot; method.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getMethod</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>If the X-HTTP-Method-Override header is set, and if the method is a POST,
then it is used to determine the &quot;real&quot; intended HTTP method.</p>
<p>The _method request parameter can also be used to determine the HTTP method,
but only if enableHttpMethodParameterOverride() has been called.</p>
<p>The method is always an uppercased string.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getMethod#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><abbr title="\Symfony\Component\HttpFoundation\getRealMethod()">getRealMethod()</abbr></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getMimeType">
getMimeType()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getMimeType" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1236</span>
</aside>
<p class="phpdocumentor-summary">Gets the mime type associated with the format.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getMimeType</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$format</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$format</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_getMimeTypes">
getMimeTypes()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getMimeTypes" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1248</span>
</aside>
<p class="phpdocumentor-summary">Gets the mime types associated with the format.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getMimeTypes</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$format</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$format</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getPassword">
getPassword()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPassword" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">933</span>
</aside>
<p class="phpdocumentor-summary">Returns the password.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getPassword</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getPathInfo">
getPathInfo()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPathInfo" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">814</span>
</aside>
<p class="phpdocumentor-summary">Returns the path being requested relative to the executed script.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getPathInfo</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>The path info always starts with a /.</p>
<p>Suppose this request is instantiated from /mysite on localhost:</p>
<ul>
<li>http://localhost/mysite returns an empty string</li>
<li>http://localhost/mysite/about returns '/about'</li>
<li>http://localhost/mysite/enco%20ded returns '/enco%20ded'</li>
<li>http://localhost/mysite/about?var=1 returns '/about'</li>
</ul>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p>The raw path (i.e. not urldecoded)</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getPort">
getPort()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPort" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">899</span>
</aside>
<p class="phpdocumentor-summary">Returns the port on which the request is made.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getPort</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>This method can read the client port from the &quot;X-Forwarded-Port&quot; header
when trusted proxies were set via &quot;setTrustedProxies()&quot;.</p>
<p>The &quot;X-Forwarded-Port&quot; header must contain the client port.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int|string|null</span>
&mdash;
<section class="phpdocumentor-description"><p>Can be a string if fetched from the server bag</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getPreferredFormat">
getPreferredFormat()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPreferredFormat" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1519</span>
</aside>
<p class="phpdocumentor-summary">Gets the preferred format for the response by inspecting, in the following order:
* the request format set using setRequestFormat;
* the values of the Accept HTTP header.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getPreferredFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$default</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;html&#039;</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Note that if you use this method, you should send the &quot;Vary: Accept&quot; header
in the response to prevent any issues with intermediary HTTP caches.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$default</span>
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
= <span class="phpdocumentor-signature__argument__default-value">&#039;html&#039;</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getPreferredLanguage">
getPreferredLanguage()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPreferredLanguage" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1539</span>
</aside>
<p class="phpdocumentor-summary">Returns the preferred language.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getPreferredLanguage</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, string&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$locales</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$locales</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, string&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array of ordered available locales</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getProtocolVersion">
getProtocolVersion()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getProtocolVersion" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1416</span>
</aside>
<p class="phpdocumentor-summary">Returns the protocol version.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getProtocolVersion</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>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 &quot;Via&quot; header)
if the proxy is trusted (see &quot;setTrustedProxies()&quot;), otherwise it returns
the latter (from the &quot;SERVER_PROTOCOL&quot; server parameter).</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getQueryString">
getQueryString()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getQueryString" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1078</span>
</aside>
<p class="phpdocumentor-summary">Generates the normalized query string for the Request.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getQueryString</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>It builds a normalized query string, where keys/value pairs are alphabetized
and have consistent escaping.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getRealMethod">
getRealMethod()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRealMethod" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1228</span>
</aside>
<p class="phpdocumentor-summary">Gets the &quot;real&quot; request method.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getRealMethod</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRealMethod#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><abbr title="\Symfony\Component\HttpFoundation\getMethod()">getMethod()</abbr></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getRelativeUriForPath">
getRelativeUriForPath()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRelativeUriForPath" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1036</span>
</aside>
<p class="phpdocumentor-summary">Returns the path as relative reference from the current Request path.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getRelativeUriForPath</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$path</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>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.</p>
<p>Example target paths, given a base path of &quot;/a/b/c/d&quot;:</p>
<ul>
<li>&quot;/a/b/c/d&quot; -&gt; &quot;&quot;</li>
<li>&quot;/a/b/c/&quot; -&gt; &quot;./&quot;</li>
<li>&quot;/a/b/&quot; -&gt; &quot;../&quot;</li>
<li>&quot;/a/b/c/other&quot; -&gt; &quot;other&quot;</li>
<li>&quot;/a/x/y&quot; -&gt; &quot;../../x/y&quot;</li>
</ul>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$path</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getRequestFormat">
getRequestFormat()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRequestFormat" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1308</span>
</aside>
<p class="phpdocumentor-summary">Gets the request format.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getRequestFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$default</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;html&#039;</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Here is the process to determine the format:</p>
<ul>
<li>format defined by the user (with setRequestFormat())</li>
<li>_format request attribute</li>
<li>$default</li>
</ul>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$default</span>
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
= <span class="phpdocumentor-signature__argument__default-value">&#039;html&#039;</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRequestFormat#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><abbr title="\Symfony\Component\HttpFoundation\getPreferredFormat">getPreferredFormat</abbr></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getRequestUri">
getRequestUri()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRequestUri" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">977</span>
</aside>
<p class="phpdocumentor-summary">Returns the requested URI (path and query string).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getRequestUri</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p>The raw URI (i.e. not URI decoded)</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getScheme">
getScheme()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getScheme" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">884</span>
</aside>
<p class="phpdocumentor-summary">Gets the request&#039;s scheme.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getScheme</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getSchemeAndHttpHost">
getSchemeAndHttpHost()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getSchemeAndHttpHost" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">992</span>
</aside>
<p class="phpdocumentor-summary">Gets the scheme and HTTP host.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getSchemeAndHttpHost</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>If the URL was called with basic authentication, the user
and the password are not added to the generated string.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getScriptName">
getScriptName()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getScriptName" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">795</span>
</aside>
<p class="phpdocumentor-summary">Returns current script name.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getScriptName</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getSession">
getSession()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getSession" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">694</span>
</aside>
<p class="phpdocumentor-summary">Gets the Session.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getSession</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Symfony-Component-HttpFoundation-Session-SessionInterface.html"><abbr title="\Symfony\Component\HttpFoundation\Session\SessionInterface">SessionInterface</abbr></a></span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href="classes/Symfony-Component-HttpFoundation-Session-SessionInterface.html"><abbr title="\Symfony\Component\HttpFoundation\Session\SessionInterface">SessionInterface</abbr></a></span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_getTrustedHeaderSet">
getTrustedHeaderSet()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedHeaderSet" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">592</span>
</aside>
<p class="phpdocumentor-summary">Gets the set of trusted headers from trusted proxies.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getTrustedHeaderSet</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int</span>
&mdash;
<section class="phpdocumentor-description"><p>A bit field of Request::HEADER_* that defines which headers are trusted from your proxies</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_getTrustedHosts">
getTrustedHosts()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedHosts" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">616</span>
</aside>
<p class="phpdocumentor-summary">Gets the list of trusted host patterns.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getTrustedHosts</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_getTrustedProxies">
getTrustedProxies()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedProxies" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">582</span>
</aside>
<p class="phpdocumentor-summary">Gets the list of trusted proxies.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getTrustedProxies</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getUri">
getUri()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUri" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1002</span>
</aside>
<p class="phpdocumentor-summary">Generates a normalized URI (URL) for the Request.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getUri</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUri#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><abbr title="\Symfony\Component\HttpFoundation\getQueryString()">getQueryString()</abbr></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getUriForPath">
getUriForPath()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUriForPath" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1016</span>
</aside>
<p class="phpdocumentor-summary">Generates a normalized URI for the given path.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getUriForPath</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$path</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$path</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A path to use instead of the current one</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getUser">
getUser()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUser" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">925</span>
</aside>
<p class="phpdocumentor-summary">Returns the user.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getUser</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getUserInfo">
getUserInfo()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUserInfo" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">943</span>
</aside>
<p class="phpdocumentor-summary">Gets the user info.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getUserInfo</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
&mdash;
<section class="phpdocumentor-description"><p>A user name if any and, optionally, scheme-specific information about how to gain authorization to access the server</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_hasPreviousSession">
hasPreviousSession()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_hasPreviousSession" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">712</span>
</aside>
<p class="phpdocumentor-summary">Whether the request contains a Session which was started in one of the
previous requests.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">hasPreviousSession</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_hasSession">
hasSession()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_hasSession" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">727</span>
</aside>
<p class="phpdocumentor-summary">Whether the request contains a Session object.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">hasSession</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$skipIfUninitialized</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>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.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$skipIfUninitialized</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>When true, ignores factories injected by <code class="prettyprint">setSessionFactory</code></p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_initialize">
initialize()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_initialize" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">267</span>
</aside>
<p class="phpdocumentor-summary">Sets the parameters for this request.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">initialize</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$query</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$request</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$attributes</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cookies</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$files</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$server</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|resource|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$content</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>This method also re-initializes all properties.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$query</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The GET parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$request</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The POST parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$attributes</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The request attributes (parameters parsed from the PATH_INFO, ...)</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cookies</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The COOKIE parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$files</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The FILES parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$server</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The SERVER parameters</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$content</span>
: <span class="phpdocumentor-signature__argument__return-type">string|resource|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The raw body data</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isFromTrustedProxy">
isFromTrustedProxy()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isFromTrustedProxy" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1921</span>
</aside>
<p class="phpdocumentor-summary">Indicates whether this request originated from a trusted proxy.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isFromTrustedProxy</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>This can be useful to determine whether or not to trust the
contents of a proxy-specific header.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isMethod">
isMethod()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethod" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1374</span>
</aside>
<p class="phpdocumentor-summary">Checks if the request method is of specified type.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isMethod</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$method</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$method</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Uppercase request method (GET, POST etc)</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isMethodCacheable">
isMethodCacheable()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodCacheable" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1402</span>
</aside>
<p class="phpdocumentor-summary">Checks whether the method is cacheable or not.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isMethodCacheable</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodCacheable#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://tools.ietf.org/html/rfc7231#section-4.2.3">https://tools.ietf.org/html/rfc7231#section-4.2.3</a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isMethodIdempotent">
isMethodIdempotent()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodIdempotent" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1392</span>
</aside>
<p class="phpdocumentor-summary">Checks whether or not the method is idempotent.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isMethodIdempotent</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isMethodSafe">
isMethodSafe()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodSafe" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1384</span>
</aside>
<p class="phpdocumentor-summary">Checks whether or not the method is safe.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isMethodSafe</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodSafe#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://tools.ietf.org/html/rfc7231#section-4.2.1">https://tools.ietf.org/html/rfc7231#section-4.2.1</a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isNoCache">
isNoCache()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isNoCache" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1506</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isNoCache</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isSecure">
isSecure()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isSecure" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1093</span>
</aside>
<p class="phpdocumentor-summary">Checks whether the request is secure or not.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isSecure</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>This method can read the client protocol from the &quot;X-Forwarded-Proto&quot; header
when trusted proxies were set via &quot;setTrustedProxies()&quot;.</p>
<p>The &quot;X-Forwarded-Proto&quot; header must contain the protocol: &quot;https&quot; or &quot;http&quot;.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isXmlHttpRequest">
isXmlHttpRequest()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isXmlHttpRequest" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1650</span>
</aside>
<p class="phpdocumentor-summary">Returns true if the request is an XMLHttpRequest.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isXmlHttpRequest</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>It works if your JavaScript library sets an X-Requested-With HTTP header.
It is known to work with common JavaScript frameworks:</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isXmlHttpRequest#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript">https://wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript</a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_normalizeQueryString">
normalizeQueryString()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_normalizeQueryString" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">627</span>
</aside>
<p class="phpdocumentor-summary">Normalizes a query string.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">normalizeQueryString</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$qs</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>It builds a normalized query string, where keys/value pairs are alphabetized,
have consistent escaping and unneeded delimiters are removed.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$qs</span>
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_overrideGlobals">
overrideGlobals()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_overrideGlobals" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">525</span>
</aside>
<p class="phpdocumentor-summary">Overrides the PHP global variables according to this request instance.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">overrideGlobals</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>It overrides $_GET, $_POST, $_REQUEST, $_SERVER, $_COOKIE.
$_FILES is never overridden, see rfc1867</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_preferSafeContent">
preferSafeContent()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_preferSafeContent" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1660</span>
</aside>
<p class="phpdocumentor-summary">Checks whether the client browser prefers safe content or not according to RFC8674.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">preferSafeContent</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_preferSafeContent#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://tools.ietf.org/html/rfc8674">https://tools.ietf.org/html/rfc8674</a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setDefaultLocale">
setDefaultLocale()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setDefaultLocale" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1336</span>
</aside>
<p class="phpdocumentor-summary">Sets the default locale.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setDefaultLocale</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$locale</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$locale</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_setFactory">
setFactory()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setFactory" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">421</span>
</aside>
<p class="phpdocumentor-summary">Sets a callable able to create a Request instance.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">setFactory</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">callable|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$callable</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>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.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$callable</span>
: <span class="phpdocumentor-signature__argument__return-type">callable|null</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setFormat">
setFormat()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setFormat" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1288</span>
</aside>
<p class="phpdocumentor-summary">Associates a format with mime types.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$format</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mimeTypes</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$format</span>
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$mimeTypes</span>
: <span class="phpdocumentor-signature__argument__return-type">string|array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The associated mime types (the preferred one must be the first as it will be used as the content type)</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setLocale">
setLocale()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setLocale" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1356</span>
</aside>
<p class="phpdocumentor-summary">Sets the locale.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setLocale</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$locale</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$locale</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setMethod">
setMethod()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setMethod" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1169</span>
</aside>
<p class="phpdocumentor-summary">Sets the request method.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setMethod</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$method</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$method</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setRequestFormat">
setRequestFormat()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setRequestFormat" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1320</span>
</aside>
<p class="phpdocumentor-summary">Sets the request format.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setRequestFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$format</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$format</span>
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setSession">
setSession()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setSession" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">732</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setSession</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Symfony-Component-HttpFoundation-Session-SessionInterface.html"><abbr title="\Symfony\Component\HttpFoundation\Session\SessionInterface">SessionInterface</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$session</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$session</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Symfony-Component-HttpFoundation-Session-SessionInterface.html"><abbr title="\Symfony\Component\HttpFoundation\Session\SessionInterface">SessionInterface</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_setTrustedHosts">
setTrustedHosts()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setTrustedHosts" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">604</span>
</aside>
<p class="phpdocumentor-summary">Sets a list of trusted host patterns.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">setTrustedHosts</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$hostPatterns</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>You should only list the hosts you manage using regexs.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$hostPatterns</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A list of trusted host patterns</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_setTrustedProxies">
setTrustedProxies()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setTrustedProxies" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">565</span>
</aside>
<p class="phpdocumentor-summary">Sets a list of trusted proxies.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">setTrustedProxies</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$proxies</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$trustedHeaderSet</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>You should only list the reverse proxies that you manage directly.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$proxies</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A list of trusted proxies, the string 'REMOTE_ADDR' will be replaced with $_SERVER['REMOTE_ADDR']</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$trustedHeaderSet</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A bit field of Request::HEADER_*, to set which headers to trust from your proxies</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_toArray">
toArray()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_toArray" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1479</span>
</aside>
<p class="phpdocumentor-summary">Gets the request body decoded as array, typically from a JSON payload.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">toArray</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_toArray#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-HttpFoundation-Exception-JsonException.html"><abbr title="\Symfony\Component\HttpFoundation\Exception\JsonException">JsonException</abbr></a></span>
<section class="phpdocumentor-description"><p>When the body cannot be decoded to an array</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="method_initializeFormats">
initializeFormats()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_initializeFormats" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1851</span>
</aside>
<p class="phpdocumentor-summary">Initializes HTTP request formats.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">initializeFormats</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_prepareBasePath">
prepareBasePath()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_prepareBasePath" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1797</span>
</aside>
<p class="phpdocumentor-summary">Prepares the base path.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__name">prepareBasePath</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_prepareBaseUrl">
prepareBaseUrl()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_prepareBaseUrl" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1730</span>
</aside>
<p class="phpdocumentor-summary">Prepares the base URL.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__name">prepareBaseUrl</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_preparePathInfo">
preparePathInfo()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_preparePathInfo" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1821</span>
</aside>
<p class="phpdocumentor-summary">Prepares the path info.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__name">preparePathInfo</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_prepareRequestUri">
prepareRequestUri()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_prepareRequestUri" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1682</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__name">prepareRequestUri</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
</article>
<article
class="phpdocumentor-element
-method
-private
-static "
>
<h4 class="phpdocumentor-element__name" id="method_createRequestFromFactory">
createRequestFromFactory()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_createRequestFromFactory" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1900</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">createRequestFromFactory</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$query</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$request</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$attributes</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cookies</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$files</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$server</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$content</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">static</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$query</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$request</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$attributes</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cookies</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$files</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$server</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$content</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">static</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_getBaseUrlReal">
getBaseUrlReal()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getBaseUrlReal" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">872</span>
</aside>
<p class="phpdocumentor-summary">Returns the real base URL received by the webserver from which this request is executed.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">getBaseUrlReal</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>The URL does not include trusted reverse proxy prefix.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p>The raw URL (i.e. not urldecoded)</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_getTrustedValues">
getTrustedValues()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedValues" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1926</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">getTrustedValues</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$ip</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$type</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$ip</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_getUrlencodedPrefix">
getUrlencodedPrefix()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUrlencodedPrefix" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1885</span>
</aside>
<p class="phpdocumentor-summary">Returns the prefix as encoded in the string when the string starts with
the given prefix, null otherwise.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">getUrlencodedPrefix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$string</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$prefix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$string</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$prefix</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_normalizeAndFilterClientIps">
normalizeAndFilterClientIps()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_normalizeAndFilterClientIps" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1977</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">normalizeAndFilterClientIps</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$clientIps</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$ip</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$clientIps</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$ip</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_setPhpDefaultLocale">
setPhpDefaultLocale()
<a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setPhpDefaultLocale" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/http-foundation/Request.php"><a href="files/vendor-symfony-http-foundation-request.html"><abbr title="vendor/symfony/http-foundation/Request.php">Request.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1868</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">setPhpDefaultLocale</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$locale</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$locale</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
</article>
</section>
<div class="phpdocumentor-modal" id="source-view">
<div class="phpdocumentor-modal-bg" data-exit-button></div>
<div class="phpdocumentor-modal-container">
<div class="phpdocumentor-modal-content">
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/vendor/symfony/http-foundation/Request.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
</div>
<button data-exit-button class="phpdocumentor-modal__close">&times;</button>
</div>
</div>
<script type="text/javascript">
(function () {
function loadExternalCodeSnippet(el, url, line) {
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
const language = 'php';
const code = document.createElement('code');
code.className = 'language-' + language;
pre.textContent = '';
pre.setAttribute('data-line', line)
code.textContent = 'Loading…';
pre.appendChild(code);
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function () {
if (xhr.readyState !== 4) {
return;
}
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
return;
}
if (xhr.status === 404) {
code.textContent = '✖ Error: File could not be found';
return;
}
if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
return;
}
code.textContent = '✖ Error: An unknown error occurred';
};
xhr.send(null);
});
}
const modalButtons = document.querySelectorAll("[data-modal]");
const openedAsLocalFile = window.location.protocol === 'file:';
if (modalButtons.length > 0 && openedAsLocalFile) {
console.warn(
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
'browsers block XHR requests when a page is opened this way'
);
}
modalButtons.forEach(function (trigger) {
if (openedAsLocalFile) {
trigger.setAttribute("hidden", "hidden");
}
trigger.addEventListener("click", function (event) {
event.preventDefault();
const modal = document.getElementById(trigger.dataset.modal);
if (!modal) {
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
return;
}
modal.classList.add("phpdocumentor-modal__open");
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
const exits = modal.querySelectorAll("[data-exit-button]");
exits.forEach(function (exit) {
exit.addEventListener("click", function (event) {
event.preventDefault();
modal.classList.remove("phpdocumentor-modal__open");
});
});
});
});
})();
</script>
</article>
</section>
<section class="phpdocumentor-on-this-page__sidebar">
<section class="phpdocumentor-on-this-page__content">
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
<ul class="phpdocumentor-list -clean">
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#toc-constants">Constants</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#toc-properties">Properties</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#toc-methods">Methods</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Constants</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_FORWARDED">HEADER_FORWARDED</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_AWS_ELB">HEADER_X_FORWARDED_AWS_ELB</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_FOR">HEADER_X_FORWARDED_FOR</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_HOST">HEADER_X_FORWARDED_HOST</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_PORT">HEADER_X_FORWARDED_PORT</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_PREFIX">HEADER_X_FORWARDED_PREFIX</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_PROTO">HEADER_X_FORWARDED_PROTO</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_HEADER_X_FORWARDED_TRAEFIK">HEADER_X_FORWARDED_TRAEFIK</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_CONNECT">METHOD_CONNECT</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_DELETE">METHOD_DELETE</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_GET">METHOD_GET</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_HEAD">METHOD_HEAD</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_OPTIONS">METHOD_OPTIONS</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_PATCH">METHOD_PATCH</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_POST">METHOD_POST</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_PURGE">METHOD_PURGE</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_PUT">METHOD_PUT</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_METHOD_TRACE">METHOD_TRACE</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_FORWARDED_PARAMS">FORWARDED_PARAMS</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#constant_TRUSTED_HEADERS">TRUSTED_HEADERS</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_attributes">$attributes<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_cookies">$cookies<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_files">$files<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_headers">$headers<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_query">$query<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_request">$request<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_server">$server<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_acceptableContentTypes">$acceptableContentTypes<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_basePath">$basePath<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_baseUrl">$baseUrl<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_charsets">$charsets<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_content">$content<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_defaultLocale">$defaultLocale<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_encodings">$encodings<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_format">$format<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_formats">$formats<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_httpMethodParameterOverride">$httpMethodParameterOverride<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_languages">$languages<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_locale">$locale<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_method">$method<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_pathInfo">$pathInfo<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_requestFactory">$requestFactory<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_requestUri">$requestUri<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_session">$session<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedHostPatterns">$trustedHostPatterns<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedHosts">$trustedHosts<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedProxies">$trustedProxies<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_isForwardedValid">$isForwardedValid<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_isHostValid">$isHostValid<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_isSafeContentPreferred">$isSafeContentPreferred<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_preferredFormat">$preferredFormat<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#property_trustedHeaderSet">$trustedHeaderSet<a href="classes/Symfony-Component-HttpFoundation-Request.html"></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method___clone">__clone()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method___construct">__construct()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method___toString">__toString()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_create">create()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_createFromGlobals">createFromGlobals()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_duplicate">duplicate()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_enableHttpMethodParameterOverride">enableHttpMethodParameterOverride()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getAcceptableContentTypes">getAcceptableContentTypes()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getBasePath">getBasePath()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getBaseUrl">getBaseUrl()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getCharsets">getCharsets()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getClientIp">getClientIp()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getClientIps">getClientIps()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getContent">getContent()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getContentType">getContentType()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getDefaultLocale">getDefaultLocale()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getEncodings">getEncodings()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getETags">getETags()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getFormat">getFormat()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getHost">getHost()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getHttpHost">getHttpHost()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getHttpMethodParameterOverride">getHttpMethodParameterOverride()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getLanguages">getLanguages()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getLocale">getLocale()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getMethod">getMethod()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getMimeType">getMimeType()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getMimeTypes">getMimeTypes()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPassword">getPassword()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPathInfo">getPathInfo()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPort">getPort()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPreferredFormat">getPreferredFormat()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getPreferredLanguage">getPreferredLanguage()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getProtocolVersion">getProtocolVersion()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getQueryString">getQueryString()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRealMethod">getRealMethod()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRelativeUriForPath">getRelativeUriForPath()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRequestFormat">getRequestFormat()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getRequestUri">getRequestUri()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getScheme">getScheme()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getSchemeAndHttpHost">getSchemeAndHttpHost()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getScriptName">getScriptName()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getSession">getSession()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedHeaderSet">getTrustedHeaderSet()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedHosts">getTrustedHosts()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedProxies">getTrustedProxies()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUri">getUri()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUriForPath">getUriForPath()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUser">getUser()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUserInfo">getUserInfo()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_hasPreviousSession">hasPreviousSession()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_hasSession">hasSession()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_initialize">initialize()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isFromTrustedProxy">isFromTrustedProxy()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethod">isMethod()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodCacheable">isMethodCacheable()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodIdempotent">isMethodIdempotent()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isMethodSafe">isMethodSafe()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isNoCache">isNoCache()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isSecure">isSecure()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_isXmlHttpRequest">isXmlHttpRequest()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_normalizeQueryString">normalizeQueryString()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_overrideGlobals">overrideGlobals()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_preferSafeContent">preferSafeContent()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setDefaultLocale">setDefaultLocale()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setFactory">setFactory()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setFormat">setFormat()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setLocale">setLocale()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setMethod">setMethod()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setRequestFormat">setRequestFormat()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setSession">setSession()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setTrustedHosts">setTrustedHosts()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setTrustedProxies">setTrustedProxies()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_toArray">toArray()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_initializeFormats">initializeFormats()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_prepareBasePath">prepareBasePath()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_prepareBaseUrl">prepareBaseUrl()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_preparePathInfo">preparePathInfo()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_prepareRequestUri">prepareRequestUri()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_createRequestFromFactory">createRequestFromFactory()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getBaseUrlReal">getBaseUrlReal()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getTrustedValues">getTrustedValues()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_getUrlencodedPrefix">getUrlencodedPrefix()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_normalizeAndFilterClientIps">normalizeAndFilterClientIps()</a></li>
<li><a href="classes/Symfony-Component-HttpFoundation-Request.html#method_setPhpDefaultLocale">setPhpDefaultLocale()</a></li>
</ul>
</li>
</ul>
</section>
</section>
</div>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
<a href="classes/Symfony-Component-HttpFoundation-Request.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>