mirror of
https://forge.chapril.org/tykayn/caisse-bliss
synced 2025-10-04 17:04:54 +02:00
8118 lines
382 KiB
HTML
8118 lines
382 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">
|
|
BinaryFileResponse
|
|
|
|
<span class="phpdocumentor-element__extends">
|
|
extends <a href="classes/Symfony-Component-HttpFoundation-Response.html"><abbr title="\Symfony\Component\HttpFoundation\Response">Response</abbr></a>
|
|
</span>
|
|
|
|
<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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">26</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">BinaryFileResponse represents an HTTP response delivering a file.</p>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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>Niklas Fiekas <a href="mailto:niklas.fiekas@tu-clausthal.de">niklas.fiekas@tu-clausthal.de</a></p>
|
|
</section>
|
|
|
|
</dd>
|
|
<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>stealth35 <a href="mailto:stealth35-php@live.fr">stealth35-php@live.fr</a></p>
|
|
</section>
|
|
|
|
</dd>
|
|
<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>Igor Wiedler <a href="mailto:igor@wiedler.ch">igor@wiedler.ch</a></p>
|
|
</section>
|
|
|
|
</dd>
|
|
<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>Jordan Alliot <a href="mailto:jordan.alliot@gmail.com">jordan.alliot@gmail.com</a></p>
|
|
</section>
|
|
|
|
</dd>
|
|
<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>Sergey Linnik <a href="mailto:linniksa@gmail.com">linniksa@gmail.com</a></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 id="toc-constants">
|
|
Constants
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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-Response.html#constant_HTTP_ACCEPTED">HTTP_ACCEPTED</a>
|
|
<span>
|
|
= 202 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_ALREADY_REPORTED">HTTP_ALREADY_REPORTED</a>
|
|
<span>
|
|
= 208 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_BAD_GATEWAY">HTTP_BAD_GATEWAY</a>
|
|
<span>
|
|
= 502 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_BAD_REQUEST">HTTP_BAD_REQUEST</a>
|
|
<span>
|
|
= 400 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_CONFLICT">HTTP_CONFLICT</a>
|
|
<span>
|
|
= 409 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_CONTINUE">HTTP_CONTINUE</a>
|
|
<span>
|
|
= 100 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_CREATED">HTTP_CREATED</a>
|
|
<span>
|
|
= 201 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_EARLY_HINTS">HTTP_EARLY_HINTS</a>
|
|
<span>
|
|
= 103 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_EXPECTATION_FAILED">HTTP_EXPECTATION_FAILED</a>
|
|
<span>
|
|
= 417 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_FAILED_DEPENDENCY">HTTP_FAILED_DEPENDENCY</a>
|
|
<span>
|
|
= 424 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_FORBIDDEN">HTTP_FORBIDDEN</a>
|
|
<span>
|
|
= 403 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_FOUND">HTTP_FOUND</a>
|
|
<span>
|
|
= 302 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_GATEWAY_TIMEOUT">HTTP_GATEWAY_TIMEOUT</a>
|
|
<span>
|
|
= 504 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_GONE">HTTP_GONE</a>
|
|
<span>
|
|
= 410 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_I_AM_A_TEAPOT">HTTP_I_AM_A_TEAPOT</a>
|
|
<span>
|
|
= 418 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_IM_USED">HTTP_IM_USED</a>
|
|
<span>
|
|
= 226 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_INSUFFICIENT_STORAGE">HTTP_INSUFFICIENT_STORAGE</a>
|
|
<span>
|
|
= 507 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_INTERNAL_SERVER_ERROR">HTTP_INTERNAL_SERVER_ERROR</a>
|
|
<span>
|
|
= 500 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_LENGTH_REQUIRED">HTTP_LENGTH_REQUIRED</a>
|
|
<span>
|
|
= 411 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_LOCKED">HTTP_LOCKED</a>
|
|
<span>
|
|
= 423 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_LOOP_DETECTED">HTTP_LOOP_DETECTED</a>
|
|
<span>
|
|
= 508 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_METHOD_NOT_ALLOWED">HTTP_METHOD_NOT_ALLOWED</a>
|
|
<span>
|
|
= 405 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MISDIRECTED_REQUEST">HTTP_MISDIRECTED_REQUEST</a>
|
|
<span>
|
|
= 421 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MOVED_PERMANENTLY">HTTP_MOVED_PERMANENTLY</a>
|
|
<span>
|
|
= 301 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MULTI_STATUS">HTTP_MULTI_STATUS</a>
|
|
<span>
|
|
= 207 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MULTIPLE_CHOICES">HTTP_MULTIPLE_CHOICES</a>
|
|
<span>
|
|
= 300 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NETWORK_AUTHENTICATION_REQUIRED">HTTP_NETWORK_AUTHENTICATION_REQUIRED</a>
|
|
<span>
|
|
= 511 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NO_CONTENT">HTTP_NO_CONTENT</a>
|
|
<span>
|
|
= 204 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NON_AUTHORITATIVE_INFORMATION">HTTP_NON_AUTHORITATIVE_INFORMATION</a>
|
|
<span>
|
|
= 203 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_ACCEPTABLE">HTTP_NOT_ACCEPTABLE</a>
|
|
<span>
|
|
= 406 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_EXTENDED">HTTP_NOT_EXTENDED</a>
|
|
<span>
|
|
= 510 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_FOUND">HTTP_NOT_FOUND</a>
|
|
<span>
|
|
= 404 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_IMPLEMENTED">HTTP_NOT_IMPLEMENTED</a>
|
|
<span>
|
|
= 501 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_MODIFIED">HTTP_NOT_MODIFIED</a>
|
|
<span>
|
|
= 304 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_OK">HTTP_OK</a>
|
|
<span>
|
|
= 200 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PARTIAL_CONTENT">HTTP_PARTIAL_CONTENT</a>
|
|
<span>
|
|
= 206 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PAYMENT_REQUIRED">HTTP_PAYMENT_REQUIRED</a>
|
|
<span>
|
|
= 402 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PERMANENTLY_REDIRECT">HTTP_PERMANENTLY_REDIRECT</a>
|
|
<span>
|
|
= 308 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PRECONDITION_FAILED">HTTP_PRECONDITION_FAILED</a>
|
|
<span>
|
|
= 412 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PRECONDITION_REQUIRED">HTTP_PRECONDITION_REQUIRED</a>
|
|
<span>
|
|
= 428 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PROCESSING">HTTP_PROCESSING</a>
|
|
<span>
|
|
= 102 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PROXY_AUTHENTICATION_REQUIRED">HTTP_PROXY_AUTHENTICATION_REQUIRED</a>
|
|
<span>
|
|
= 407 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_ENTITY_TOO_LARGE">HTTP_REQUEST_ENTITY_TOO_LARGE</a>
|
|
<span>
|
|
= 413 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE">HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE</a>
|
|
<span>
|
|
= 431 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_TIMEOUT">HTTP_REQUEST_TIMEOUT</a>
|
|
<span>
|
|
= 408 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_URI_TOO_LONG">HTTP_REQUEST_URI_TOO_LONG</a>
|
|
<span>
|
|
= 414 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE">HTTP_REQUESTED_RANGE_NOT_SATISFIABLE</a>
|
|
<span>
|
|
= 416 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_RESERVED">HTTP_RESERVED</a>
|
|
<span>
|
|
= 306 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_RESET_CONTENT">HTTP_RESET_CONTENT</a>
|
|
<span>
|
|
= 205 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_SEE_OTHER">HTTP_SEE_OTHER</a>
|
|
<span>
|
|
= 303 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_SERVICE_UNAVAILABLE">HTTP_SERVICE_UNAVAILABLE</a>
|
|
<span>
|
|
= 503 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_SWITCHING_PROTOCOLS">HTTP_SWITCHING_PROTOCOLS</a>
|
|
<span>
|
|
= 101 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_TEMPORARY_REDIRECT">HTTP_TEMPORARY_REDIRECT</a>
|
|
<span>
|
|
= 307 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_TOO_EARLY">HTTP_TOO_EARLY</a>
|
|
<span>
|
|
= 425 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_TOO_MANY_REQUESTS">HTTP_TOO_MANY_REQUESTS</a>
|
|
<span>
|
|
= 429 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNAUTHORIZED">HTTP_UNAUTHORIZED</a>
|
|
<span>
|
|
= 401 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS">HTTP_UNAVAILABLE_FOR_LEGAL_REASONS</a>
|
|
<span>
|
|
= 451 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNPROCESSABLE_ENTITY">HTTP_UNPROCESSABLE_ENTITY</a>
|
|
<span>
|
|
= 422 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNSUPPORTED_MEDIA_TYPE">HTTP_UNSUPPORTED_MEDIA_TYPE</a>
|
|
<span>
|
|
= 415 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UPGRADE_REQUIRED">HTTP_UPGRADE_REQUIRED</a>
|
|
<span>
|
|
= 426 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_USE_PROXY">HTTP_USE_PROXY</a>
|
|
<span>
|
|
= 305 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL">HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL</a>
|
|
<span>
|
|
= 506 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_VERSION_NOT_SUPPORTED">HTTP_VERSION_NOT_SUPPORTED</a>
|
|
<span>
|
|
= 505 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -private">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES">HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES</a>
|
|
<span>
|
|
= ['must_revalidate' => false, 'no_cache' => false, 'no_store' => false, 'no_transform' => false, 'public' => false, 'private' => false, 'proxy_revalidate' => false, 'max_age' => true, 's_maxage' => true, 'immutable' => false, 'last_modified' => true, 'etag' => true] </span>
|
|
</dt>
|
|
|
|
</dl>
|
|
|
|
|
|
<h4 id="toc-properties">
|
|
Properties
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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-Response.html#property_headers">$headers</a>
|
|
<span>
|
|
: <a href="classes/Symfony-Component-HttpFoundation-ResponseHeaderBag.html"><abbr title="\Symfony\Component\HttpFoundation\ResponseHeaderBag">ResponseHeaderBag</abbr></a> </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_statusTexts">$statusTexts</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Status codes translation table.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_charset">$charset</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_chunkSize">$chunkSize</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_content">$content</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_deleteFileAfterSend">$deleteFileAfterSend</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_file">$file</a>
|
|
<span>
|
|
: <a href="classes/Symfony-Component-HttpFoundation-File-File.html"><abbr title="\Symfony\Component\HttpFoundation\File\File">File</abbr></a> </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_maxlen">$maxlen</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_offset">$offset</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_statusCode">$statusCode</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_statusText">$statusText</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_trustXSendfileTypeHeader">$trustXSendfileTypeHeader</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_version">$version</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
|
|
</dl>
|
|
|
|
<h4 id="toc-methods">
|
|
Methods
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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-Response.html#method___clone">__clone()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Clones the current Response instance.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method___construct">__construct()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method___toString">__toString()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Returns the Response as an HTTP string.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_closeOutputBuffers">closeOutputBuffers()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Cleans or flushes output buffers up to target level.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_deleteFileAfterSend">deleteFileAfterSend()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>If this is set to true, the file will be unlinked after the request is sent
|
|
Note: If the X-Sendfile header is used, the deleteFileAfterSend setting will not be used.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_expire">expire()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Marks the response stale by setting the Age header to be equal to the maximum age of the response.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getAge">getAge()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Returns the age of the response in seconds.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getCharset">getCharset()</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>Retrieves the response charset.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_getContent">getContent()</a>
|
|
<span>
|
|
: string|false </span>
|
|
</dt>
|
|
<dd>Gets the current response content.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getDate">getDate()</a>
|
|
<span>
|
|
: <abbr title="\DateTimeInterface">DateTimeInterface</abbr>|null </span>
|
|
</dt>
|
|
<dd>Returns the Date header as a DateTime instance.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getEtag">getEtag()</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>Returns the literal value of the ETag HTTP header.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getExpires">getExpires()</a>
|
|
<span>
|
|
: <abbr title="\DateTimeInterface">DateTimeInterface</abbr>|null </span>
|
|
</dt>
|
|
<dd>Returns the value of the Expires header as a DateTime instance.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_getFile">getFile()</a>
|
|
<span>
|
|
: <a href="classes/Symfony-Component-HttpFoundation-File-File.html"><abbr title="\Symfony\Component\HttpFoundation\File\File">File</abbr></a> </span>
|
|
</dt>
|
|
<dd>Gets the file.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getLastModified">getLastModified()</a>
|
|
<span>
|
|
: <abbr title="\DateTimeInterface">DateTimeInterface</abbr>|null </span>
|
|
</dt>
|
|
<dd>Returns the Last-Modified HTTP header as a DateTime instance.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getMaxAge">getMaxAge()</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>Returns the number of seconds after the time specified in the response's Date
|
|
header when the response should no longer be considered fresh.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getProtocolVersion">getProtocolVersion()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Gets the HTTP protocol version.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getStatusCode">getStatusCode()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Retrieves the status code for the current web response.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getTtl">getTtl()</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>Returns the response's time-to-live in seconds.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getVary">getVary()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Returns an array of header names given in the Vary header.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_hasVary">hasVary()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Returns true if the response includes a Vary header.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isCacheable">isCacheable()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Returns true if the response may safely be kept in a shared (surrogate) cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isClientError">isClientError()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is there a client error?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isEmpty">isEmpty()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is the response empty?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isForbidden">isForbidden()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is the response forbidden?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isFresh">isFresh()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Returns true if the response is "fresh".</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isImmutable">isImmutable()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Returns true if the response is marked as "immutable".</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isInformational">isInformational()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is response informative?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isInvalid">isInvalid()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is response invalid?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isNotFound">isNotFound()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is the response a not found error?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isNotModified">isNotModified()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Determines if the Response validators (ETag, Last-Modified) match
|
|
a conditional value specified in the Request.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isOk">isOk()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is the response OK?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isRedirect">isRedirect()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is the response a redirect of some form?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isRedirection">isRedirection()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is the response a redirect?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isServerError">isServerError()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Was there a server side error?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isSuccessful">isSuccessful()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is response successful?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isValidateable">isValidateable()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Returns true if the response includes headers that can be used to validate
|
|
the response with the origin server using a conditional GET request.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_mustRevalidate">mustRevalidate()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Returns true if the response must be revalidated by shared caches once it has become stale.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_prepare">prepare()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Prepares the Response before it is sent to the client.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_send">send()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sends HTTP headers and content.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_sendContent">sendContent()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sends content for the current web response.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_sendHeaders">sendHeaders()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sends HTTP headers.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setAutoEtag">setAutoEtag()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Automatically sets the ETag header according to the checksum of the file.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setAutoLastModified">setAutoLastModified()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Automatically sets the Last-Modified header according the file modification date.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setCache">setCache()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the response's cache headers (validation and/or expiration).</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setCharset">setCharset()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the response charset.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setChunkSize">setChunkSize()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the response stream chunk size.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setClientTtl">setClientTtl()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the response's time-to-live for private/client caches in seconds.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setContent">setContent()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the response content.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setContentDisposition">setContentDisposition()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the Content-Disposition header with the given filename.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setContentSafe">setContentSafe()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Marks a response as safe according to RFC8674.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setDate">setDate()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the Date header.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setEtag">setEtag()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the ETag value.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setExpires">setExpires()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the Expires HTTP header with a DateTime instance.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setFile">setFile()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the file to stream.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setImmutable">setImmutable()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Marks the response as "immutable".</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setLastModified">setLastModified()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the Last-Modified HTTP header with a DateTime instance.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setMaxAge">setMaxAge()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the number of seconds after which the response should no longer be considered fresh.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setNotModified">setNotModified()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Modifies the response so that it conforms to the rules defined for a 304 status code.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setPrivate">setPrivate()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Marks the response as "private".</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setProtocolVersion">setProtocolVersion()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the HTTP protocol version (1.0 or 1.1).</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setPublic">setPublic()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Marks the response as "public".</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setSharedMaxAge">setSharedMaxAge()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the number of seconds after which the response should no longer be considered fresh by shared caches.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setStatusCode">setStatusCode()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the response status code.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setTtl">setTtl()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the response's time-to-live for shared caches in seconds.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setVary">setVary()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the Vary header.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_trustXSendfileTypeHeader">trustXSendfileTypeHeader()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Trust X-Sendfile-Type header.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_ensureIEOverSSLCompatibility">ensureIEOverSSLCompatibility()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Checks if we need to remove Cache-Control for SSL encrypted downloads when using IE < 9.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_hasValidIfRangeHeader">hasValidIfRangeHeader()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-constants">
|
|
<h3 class="phpdocumentor-elements__header" id="constants">
|
|
Constants
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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_HTTP_ACCEPTED">
|
|
HTTP_ACCEPTED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_ACCEPTED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">30</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">HTTP_ACCEPTED</span>
|
|
= <span class="phpdocumentor-signature__default-value">202</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_ALREADY_REPORTED">
|
|
HTTP_ALREADY_REPORTED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_ALREADY_REPORTED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">36</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">HTTP_ALREADY_REPORTED</span>
|
|
= <span class="phpdocumentor-signature__default-value">208</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_BAD_GATEWAY">
|
|
HTTP_BAD_GATEWAY
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_BAD_GATEWAY" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">78</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">HTTP_BAD_GATEWAY</span>
|
|
= <span class="phpdocumentor-signature__default-value">502</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_BAD_REQUEST">
|
|
HTTP_BAD_REQUEST
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_BAD_REQUEST" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_BAD_REQUEST</span>
|
|
= <span class="phpdocumentor-signature__default-value">400</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_CONFLICT">
|
|
HTTP_CONFLICT
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_CONFLICT" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_CONFLICT</span>
|
|
= <span class="phpdocumentor-signature__default-value">409</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_CONTINUE">
|
|
HTTP_CONTINUE
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_CONTINUE" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">24</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">HTTP_CONTINUE</span>
|
|
= <span class="phpdocumentor-signature__default-value">100</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_CREATED">
|
|
HTTP_CREATED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_CREATED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">29</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">HTTP_CREATED</span>
|
|
= <span class="phpdocumentor-signature__default-value">201</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_EARLY_HINTS">
|
|
HTTP_EARLY_HINTS
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_EARLY_HINTS" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">27</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">HTTP_EARLY_HINTS</span>
|
|
= <span class="phpdocumentor-signature__default-value">103</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_EXPECTATION_FAILED">
|
|
HTTP_EXPECTATION_FAILED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_EXPECTATION_FAILED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">64</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">HTTP_EXPECTATION_FAILED</span>
|
|
= <span class="phpdocumentor-signature__default-value">417</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_FAILED_DEPENDENCY">
|
|
HTTP_FAILED_DEPENDENCY
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_FAILED_DEPENDENCY" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">69</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">HTTP_FAILED_DEPENDENCY</span>
|
|
= <span class="phpdocumentor-signature__default-value">424</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_FORBIDDEN">
|
|
HTTP_FORBIDDEN
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_FORBIDDEN" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">50</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">HTTP_FORBIDDEN</span>
|
|
= <span class="phpdocumentor-signature__default-value">403</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_FOUND">
|
|
HTTP_FOUND
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_FOUND" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">40</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">HTTP_FOUND</span>
|
|
= <span class="phpdocumentor-signature__default-value">302</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_GATEWAY_TIMEOUT">
|
|
HTTP_GATEWAY_TIMEOUT
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_GATEWAY_TIMEOUT" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">80</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">HTTP_GATEWAY_TIMEOUT</span>
|
|
= <span class="phpdocumentor-signature__default-value">504</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_GONE">
|
|
HTTP_GONE
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_GONE" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_GONE</span>
|
|
= <span class="phpdocumentor-signature__default-value">410</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_I_AM_A_TEAPOT">
|
|
HTTP_I_AM_A_TEAPOT
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_I_AM_A_TEAPOT" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">65</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">HTTP_I_AM_A_TEAPOT</span>
|
|
= <span class="phpdocumentor-signature__default-value">418</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_IM_USED">
|
|
HTTP_IM_USED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_IM_USED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">37</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">HTTP_IM_USED</span>
|
|
= <span class="phpdocumentor-signature__default-value">226</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_INSUFFICIENT_STORAGE">
|
|
HTTP_INSUFFICIENT_STORAGE
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_INSUFFICIENT_STORAGE" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">83</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">HTTP_INSUFFICIENT_STORAGE</span>
|
|
= <span class="phpdocumentor-signature__default-value">507</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_INTERNAL_SERVER_ERROR">
|
|
HTTP_INTERNAL_SERVER_ERROR
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_INTERNAL_SERVER_ERROR" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">76</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">HTTP_INTERNAL_SERVER_ERROR</span>
|
|
= <span class="phpdocumentor-signature__default-value">500</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_LENGTH_REQUIRED">
|
|
HTTP_LENGTH_REQUIRED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_LENGTH_REQUIRED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_LENGTH_REQUIRED</span>
|
|
= <span class="phpdocumentor-signature__default-value">411</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_LOCKED">
|
|
HTTP_LOCKED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_LOCKED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">68</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">HTTP_LOCKED</span>
|
|
= <span class="phpdocumentor-signature__default-value">423</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_LOOP_DETECTED">
|
|
HTTP_LOOP_DETECTED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_LOOP_DETECTED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">84</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">HTTP_LOOP_DETECTED</span>
|
|
= <span class="phpdocumentor-signature__default-value">508</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_METHOD_NOT_ALLOWED">
|
|
HTTP_METHOD_NOT_ALLOWED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_METHOD_NOT_ALLOWED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_METHOD_NOT_ALLOWED</span>
|
|
= <span class="phpdocumentor-signature__default-value">405</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_MISDIRECTED_REQUEST">
|
|
HTTP_MISDIRECTED_REQUEST
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MISDIRECTED_REQUEST" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">66</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">HTTP_MISDIRECTED_REQUEST</span>
|
|
= <span class="phpdocumentor-signature__default-value">421</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_MOVED_PERMANENTLY">
|
|
HTTP_MOVED_PERMANENTLY
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MOVED_PERMANENTLY" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">39</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">HTTP_MOVED_PERMANENTLY</span>
|
|
= <span class="phpdocumentor-signature__default-value">301</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_MULTI_STATUS">
|
|
HTTP_MULTI_STATUS
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MULTI_STATUS" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">35</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">HTTP_MULTI_STATUS</span>
|
|
= <span class="phpdocumentor-signature__default-value">207</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_MULTIPLE_CHOICES">
|
|
HTTP_MULTIPLE_CHOICES
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MULTIPLE_CHOICES" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">38</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">HTTP_MULTIPLE_CHOICES</span>
|
|
= <span class="phpdocumentor-signature__default-value">300</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_NETWORK_AUTHENTICATION_REQUIRED">
|
|
HTTP_NETWORK_AUTHENTICATION_REQUIRED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NETWORK_AUTHENTICATION_REQUIRED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">86</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">HTTP_NETWORK_AUTHENTICATION_REQUIRED</span>
|
|
= <span class="phpdocumentor-signature__default-value">511</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_NO_CONTENT">
|
|
HTTP_NO_CONTENT
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NO_CONTENT" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">32</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">HTTP_NO_CONTENT</span>
|
|
= <span class="phpdocumentor-signature__default-value">204</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_NON_AUTHORITATIVE_INFORMATION">
|
|
HTTP_NON_AUTHORITATIVE_INFORMATION
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NON_AUTHORITATIVE_INFORMATION" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">31</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">HTTP_NON_AUTHORITATIVE_INFORMATION</span>
|
|
= <span class="phpdocumentor-signature__default-value">203</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_NOT_ACCEPTABLE">
|
|
HTTP_NOT_ACCEPTABLE
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_ACCEPTABLE" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">53</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">HTTP_NOT_ACCEPTABLE</span>
|
|
= <span class="phpdocumentor-signature__default-value">406</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_NOT_EXTENDED">
|
|
HTTP_NOT_EXTENDED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_EXTENDED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">85</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">HTTP_NOT_EXTENDED</span>
|
|
= <span class="phpdocumentor-signature__default-value">510</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_NOT_FOUND">
|
|
HTTP_NOT_FOUND
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_FOUND" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_NOT_FOUND</span>
|
|
= <span class="phpdocumentor-signature__default-value">404</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_NOT_IMPLEMENTED">
|
|
HTTP_NOT_IMPLEMENTED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_IMPLEMENTED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">77</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">HTTP_NOT_IMPLEMENTED</span>
|
|
= <span class="phpdocumentor-signature__default-value">501</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_NOT_MODIFIED">
|
|
HTTP_NOT_MODIFIED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_MODIFIED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">42</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">HTTP_NOT_MODIFIED</span>
|
|
= <span class="phpdocumentor-signature__default-value">304</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_OK">
|
|
HTTP_OK
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_OK" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">28</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">HTTP_OK</span>
|
|
= <span class="phpdocumentor-signature__default-value">200</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_PARTIAL_CONTENT">
|
|
HTTP_PARTIAL_CONTENT
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PARTIAL_CONTENT" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">34</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">HTTP_PARTIAL_CONTENT</span>
|
|
= <span class="phpdocumentor-signature__default-value">206</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_PAYMENT_REQUIRED">
|
|
HTTP_PAYMENT_REQUIRED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PAYMENT_REQUIRED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_PAYMENT_REQUIRED</span>
|
|
= <span class="phpdocumentor-signature__default-value">402</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_PERMANENTLY_REDIRECT">
|
|
HTTP_PERMANENTLY_REDIRECT
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PERMANENTLY_REDIRECT" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_PERMANENTLY_REDIRECT</span>
|
|
= <span class="phpdocumentor-signature__default-value">308</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_PRECONDITION_FAILED">
|
|
HTTP_PRECONDITION_FAILED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PRECONDITION_FAILED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_PRECONDITION_FAILED</span>
|
|
= <span class="phpdocumentor-signature__default-value">412</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_PRECONDITION_REQUIRED">
|
|
HTTP_PRECONDITION_REQUIRED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PRECONDITION_REQUIRED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">72</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">HTTP_PRECONDITION_REQUIRED</span>
|
|
= <span class="phpdocumentor-signature__default-value">428</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_PROCESSING">
|
|
HTTP_PROCESSING
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PROCESSING" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">26</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">HTTP_PROCESSING</span>
|
|
= <span class="phpdocumentor-signature__default-value">102</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_PROXY_AUTHENTICATION_REQUIRED">
|
|
HTTP_PROXY_AUTHENTICATION_REQUIRED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PROXY_AUTHENTICATION_REQUIRED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_PROXY_AUTHENTICATION_REQUIRED</span>
|
|
= <span class="phpdocumentor-signature__default-value">407</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_REQUEST_ENTITY_TOO_LARGE">
|
|
HTTP_REQUEST_ENTITY_TOO_LARGE
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_ENTITY_TOO_LARGE" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_REQUEST_ENTITY_TOO_LARGE</span>
|
|
= <span class="phpdocumentor-signature__default-value">413</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE">
|
|
HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">74</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">HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE</span>
|
|
= <span class="phpdocumentor-signature__default-value">431</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_REQUEST_TIMEOUT">
|
|
HTTP_REQUEST_TIMEOUT
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_TIMEOUT" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_REQUEST_TIMEOUT</span>
|
|
= <span class="phpdocumentor-signature__default-value">408</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_REQUEST_URI_TOO_LONG">
|
|
HTTP_REQUEST_URI_TOO_LONG
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_URI_TOO_LONG" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_REQUEST_URI_TOO_LONG</span>
|
|
= <span class="phpdocumentor-signature__default-value">414</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE">
|
|
HTTP_REQUESTED_RANGE_NOT_SATISFIABLE
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_REQUESTED_RANGE_NOT_SATISFIABLE</span>
|
|
= <span class="phpdocumentor-signature__default-value">416</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_RESERVED">
|
|
HTTP_RESERVED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_RESERVED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_RESERVED</span>
|
|
= <span class="phpdocumentor-signature__default-value">306</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_RESET_CONTENT">
|
|
HTTP_RESET_CONTENT
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_RESET_CONTENT" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">33</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">HTTP_RESET_CONTENT</span>
|
|
= <span class="phpdocumentor-signature__default-value">205</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_SEE_OTHER">
|
|
HTTP_SEE_OTHER
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_SEE_OTHER" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">41</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">HTTP_SEE_OTHER</span>
|
|
= <span class="phpdocumentor-signature__default-value">303</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_SERVICE_UNAVAILABLE">
|
|
HTTP_SERVICE_UNAVAILABLE
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_SERVICE_UNAVAILABLE" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">79</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">HTTP_SERVICE_UNAVAILABLE</span>
|
|
= <span class="phpdocumentor-signature__default-value">503</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_SWITCHING_PROTOCOLS">
|
|
HTTP_SWITCHING_PROTOCOLS
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_SWITCHING_PROTOCOLS" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">25</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">HTTP_SWITCHING_PROTOCOLS</span>
|
|
= <span class="phpdocumentor-signature__default-value">101</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_TEMPORARY_REDIRECT">
|
|
HTTP_TEMPORARY_REDIRECT
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_TEMPORARY_REDIRECT" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_TEMPORARY_REDIRECT</span>
|
|
= <span class="phpdocumentor-signature__default-value">307</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_TOO_EARLY">
|
|
HTTP_TOO_EARLY
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_TOO_EARLY" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">70</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">HTTP_TOO_EARLY</span>
|
|
= <span class="phpdocumentor-signature__default-value">425</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_TOO_MANY_REQUESTS">
|
|
HTTP_TOO_MANY_REQUESTS
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_TOO_MANY_REQUESTS" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">73</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">HTTP_TOO_MANY_REQUESTS</span>
|
|
= <span class="phpdocumentor-signature__default-value">429</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_UNAUTHORIZED">
|
|
HTTP_UNAUTHORIZED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNAUTHORIZED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_UNAUTHORIZED</span>
|
|
= <span class="phpdocumentor-signature__default-value">401</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS">
|
|
HTTP_UNAVAILABLE_FOR_LEGAL_REASONS
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">75</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">HTTP_UNAVAILABLE_FOR_LEGAL_REASONS</span>
|
|
= <span class="phpdocumentor-signature__default-value">451</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_UNPROCESSABLE_ENTITY">
|
|
HTTP_UNPROCESSABLE_ENTITY
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNPROCESSABLE_ENTITY" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">67</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">HTTP_UNPROCESSABLE_ENTITY</span>
|
|
= <span class="phpdocumentor-signature__default-value">422</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_UNSUPPORTED_MEDIA_TYPE">
|
|
HTTP_UNSUPPORTED_MEDIA_TYPE
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNSUPPORTED_MEDIA_TYPE" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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">HTTP_UNSUPPORTED_MEDIA_TYPE</span>
|
|
= <span class="phpdocumentor-signature__default-value">415</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_UPGRADE_REQUIRED">
|
|
HTTP_UPGRADE_REQUIRED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UPGRADE_REQUIRED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">71</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">HTTP_UPGRADE_REQUIRED</span>
|
|
= <span class="phpdocumentor-signature__default-value">426</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_USE_PROXY">
|
|
HTTP_USE_PROXY
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_USE_PROXY" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">43</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">HTTP_USE_PROXY</span>
|
|
= <span class="phpdocumentor-signature__default-value">305</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL">
|
|
HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">82</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">HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL</span>
|
|
= <span class="phpdocumentor-signature__default-value">506</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_VERSION_NOT_SUPPORTED">
|
|
HTTP_VERSION_NOT_SUPPORTED
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_VERSION_NOT_SUPPORTED" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">81</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">HTTP_VERSION_NOT_SUPPORTED</span>
|
|
= <span class="phpdocumentor-signature__default-value">505</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -private ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES">
|
|
HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">91</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">HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES</span>
|
|
= <span class="phpdocumentor-signature__default-value">['must_revalidate' => false, 'no_cache' => false, 'no_store' => false, 'no_transform' => false, 'public' => false, 'private' => false, 'proxy_revalidate' => false, 'max_age' => true, 's_maxage' => true, 'immutable' => false, 'last_modified' => true, 'etag' => true]</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES#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://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control">https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control</a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
</section>
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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_headers">
|
|
$headers
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">109</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Symfony-Component-HttpFoundation-ResponseHeaderBag.html"><abbr title="\Symfony\Component\HttpFoundation\ResponseHeaderBag">ResponseHeaderBag</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$headers</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_statusTexts">
|
|
$statusTexts
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_statusTexts" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">147</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Status codes translation table.</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__type">array<string|int, mixed></span>
|
|
<span class="phpdocumentor-signature__name">$statusTexts</span>
|
|
= <span class="phpdocumentor-signature__default-value">[
|
|
100 => 'Continue',
|
|
101 => 'Switching Protocols',
|
|
102 => 'Processing',
|
|
// RFC2518
|
|
103 => 'Early Hints',
|
|
200 => 'OK',
|
|
201 => 'Created',
|
|
202 => 'Accepted',
|
|
203 => 'Non-Authoritative Information',
|
|
204 => 'No Content',
|
|
205 => 'Reset Content',
|
|
206 => 'Partial Content',
|
|
207 => 'Multi-Status',
|
|
// RFC4918
|
|
208 => 'Already Reported',
|
|
// RFC5842
|
|
226 => 'IM Used',
|
|
// RFC3229
|
|
300 => 'Multiple Choices',
|
|
301 => 'Moved Permanently',
|
|
302 => 'Found',
|
|
303 => 'See Other',
|
|
304 => 'Not Modified',
|
|
305 => 'Use Proxy',
|
|
307 => 'Temporary Redirect',
|
|
308 => 'Permanent Redirect',
|
|
// RFC7238
|
|
400 => 'Bad Request',
|
|
401 => 'Unauthorized',
|
|
402 => 'Payment Required',
|
|
403 => 'Forbidden',
|
|
404 => 'Not Found',
|
|
405 => 'Method Not Allowed',
|
|
406 => 'Not Acceptable',
|
|
407 => 'Proxy Authentication Required',
|
|
408 => 'Request Timeout',
|
|
409 => 'Conflict',
|
|
410 => 'Gone',
|
|
411 => 'Length Required',
|
|
412 => 'Precondition Failed',
|
|
413 => 'Content Too Large',
|
|
// RFC-ietf-httpbis-semantics
|
|
414 => 'URI Too Long',
|
|
415 => 'Unsupported Media Type',
|
|
416 => 'Range Not Satisfiable',
|
|
417 => 'Expectation Failed',
|
|
418 => 'I\'m a teapot',
|
|
// RFC2324
|
|
421 => 'Misdirected Request',
|
|
// RFC7540
|
|
422 => 'Unprocessable Content',
|
|
// RFC-ietf-httpbis-semantics
|
|
423 => 'Locked',
|
|
// RFC4918
|
|
424 => 'Failed Dependency',
|
|
// RFC4918
|
|
425 => 'Too Early',
|
|
// RFC-ietf-httpbis-replay-04
|
|
426 => 'Upgrade Required',
|
|
// RFC2817
|
|
428 => 'Precondition Required',
|
|
// RFC6585
|
|
429 => 'Too Many Requests',
|
|
// RFC6585
|
|
431 => 'Request Header Fields Too Large',
|
|
// RFC6585
|
|
451 => 'Unavailable For Legal Reasons',
|
|
// RFC7725
|
|
500 => 'Internal Server Error',
|
|
501 => 'Not Implemented',
|
|
502 => 'Bad Gateway',
|
|
503 => 'Service Unavailable',
|
|
504 => 'Gateway Timeout',
|
|
505 => 'HTTP Version Not Supported',
|
|
506 => 'Variant Also Negotiates',
|
|
// RFC2295
|
|
507 => 'Insufficient Storage',
|
|
// RFC4918
|
|
508 => 'Loop Detected',
|
|
// RFC5842
|
|
510 => 'Not Extended',
|
|
// RFC2774
|
|
511 => 'Network Authentication Required',
|
|
]</span></code>
|
|
|
|
<section class="phpdocumentor-description"><p>The list of codes is complete according to the
|
|
<a href="https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml">Hypertext Transfer Protocol (HTTP) Status Code Registry</a>
|
|
(last updated 2021-10-01).</p>
|
|
<p>Unless otherwise noted, the status code is defined in RFC2616.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_charset">
|
|
$charset
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_charset" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.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</span>
|
|
<span class="phpdocumentor-signature__name">$charset</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_chunkSize">
|
|
$chunkSize
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_chunkSize" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">37</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$chunkSize</span>
|
|
= <span class="phpdocumentor-signature__default-value">8 * 1024</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_content">
|
|
$content
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">114</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">$content</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_deleteFileAfterSend">
|
|
$deleteFileAfterSend
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_deleteFileAfterSend" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">36</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$deleteFileAfterSend</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_file">
|
|
$file
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_file" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">33</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-File-File.html"><abbr title="\Symfony\Component\HttpFoundation\File\File">File</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$file</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_maxlen">
|
|
$maxlen
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_maxlen" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">35</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$maxlen</span>
|
|
= <span class="phpdocumentor-signature__default-value">-1</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_offset">
|
|
$offset
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_offset" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">34</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$offset</span>
|
|
= <span class="phpdocumentor-signature__default-value">0</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_statusCode">
|
|
$statusCode
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_statusCode" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">124</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$statusCode</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_statusText">
|
|
$statusText
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_statusText" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">129</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">$statusText</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_trustXSendfileTypeHeader">
|
|
$trustXSendfileTypeHeader
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_trustXSendfileTypeHeader" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">28</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">$trustXSendfileTypeHeader</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_version">
|
|
$version
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#property_version" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">119</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">$version</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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-Response.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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">243</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Clones the current Response instance.</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>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
|
__construct()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">48</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 class="phpdocumentor-signature__argument__return-type"><abbr title="\SplFileInfo">SplFileInfo</abbr>|string </span><span class="phpdocumentor-signature__argument__name">$file</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$status</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">200</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$headers</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">bool </span><span class="phpdocumentor-signature__argument__name">$public</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$contentDisposition</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">bool </span><span class="phpdocumentor-signature__argument__name">$autoEtag</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$autoLastModified</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</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">$file</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\SplFileInfo">SplFileInfo</abbr>|string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The file to stream</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$status</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">200</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The response status code</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$headers</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>An array of response headers</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$public</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Files are public by default</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$contentDisposition</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The type of Content-Disposition to set automatically with the filename</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$autoEtag</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>Whether the ETag header should be automatically set</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$autoLastModified</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether the Last-Modified header should be automatically set</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-Response.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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">232</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the Response as an HTTP string.</p>
|
|
|
|
<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 class="phpdocumentor-description"><p>The string representation of the Response is the same as the
|
|
one that will be sent to the client only if the prepare() method
|
|
has been called before.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method___toString#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\prepare()">prepare()</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
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_closeOutputBuffers">
|
|
closeOutputBuffers()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_closeOutputBuffers" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1216</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Cleans or flushes output buffers up to target level.</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">closeOutputBuffers</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$targetLevel</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$flush</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Resulting level can be greater than target level if a non-removable buffer has been encountered.</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">$targetLevel</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">$flush</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</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-Response.html#method_closeOutputBuffers#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_deleteFileAfterSend">
|
|
deleteFileAfterSend()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_deleteFileAfterSend" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">377</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">If this is set to true, the file will be unlinked after the request is sent
|
|
Note: If the X-Sendfile header is used, the deleteFileAfterSend setting will not be used.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">deleteFileAfterSend</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$shouldDelete</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$shouldDelete</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</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">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_expire">
|
|
expire()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_expire" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">683</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Marks the response stale by setting the Age header to be equal to the maximum age of the response.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">expire</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getAge">
|
|
getAge()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getAge" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">669</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the age of the response in seconds.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getAge</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getAge#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getCharset">
|
|
getCharset()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getCharset" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">496</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Retrieves the response charset.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getCharset</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-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getCharset#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-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_getContent">
|
|
getContent()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">358</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the current response 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>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|false</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|false</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getDate">
|
|
getDate()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getDate" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">640</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the Date header as a DateTime instance.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getDate</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getDate#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"><abbr title="\RuntimeException">RuntimeException</abbr></span>
|
|
|
|
<section class="phpdocumentor-description"><p>When the header is not parseable</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr>|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getEtag">
|
|
getEtag()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getEtag" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">887</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the literal value of the ETag HTTP header.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getEtag</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-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getEtag#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-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_getExpires">
|
|
getExpires()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getExpires" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">698</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the value of the Expires header as a DateTime instance.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getExpires</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getExpires#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr>|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getFile">
|
|
getFile()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_getFile" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">100</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the file.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getFile</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Symfony-Component-HttpFoundation-File-File.html"><abbr title="\Symfony\Component\HttpFoundation\File\File">File</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-File-File.html"><abbr title="\Symfony\Component\HttpFoundation\File\File">File</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getLastModified">
|
|
getLastModified()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getLastModified" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">850</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the Last-Modified HTTP header as a DateTime instance.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getLastModified</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getLastModified#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"><abbr title="\RuntimeException">RuntimeException</abbr></span>
|
|
|
|
<section class="phpdocumentor-description"><p>When the HTTP header is not parseable</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr>|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getMaxAge">
|
|
getMaxAge()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getMaxAge" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">744</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the number of seconds after the time specified in the response's Date
|
|
header when the response should no longer be considered fresh.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getMaxAge</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>First, it checks for a s-maxage directive, then a max-age directive, and then it falls
|
|
back on an expires header. It returns null when no maximum age can be established.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getMaxAge#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int|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-Response.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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">426</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the HTTP 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</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getProtocolVersion#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-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_getStatusCode">
|
|
getStatusCode()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getStatusCode" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">472</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Retrieves the status code for the current web response.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getStatusCode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getStatusCode#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getTtl">
|
|
getTtl()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getTtl" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">804</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the response's time-to-live in seconds.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getTtl</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>It returns null when no freshness information is present in the response.</p>
|
|
<p>When the responses TTL is <= 0, the response may not be served from cache without first
|
|
revalidating with the origin.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getTtl#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getVary">
|
|
getVary()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getVary" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1019</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns an array of header names given in the Vary header.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getVary</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getVary#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_hasVary">
|
|
hasVary()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_hasVary" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1009</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns true if the response includes a Vary header.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">hasVary</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-Response.html#method_hasVary#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isCacheable">
|
|
isCacheable()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isCacheable" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">518</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns true if the response may safely be kept in a shared (surrogate) cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isCacheable</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>Responses marked "private" with an explicit Cache-Control directive are
|
|
considered uncacheable.</p>
|
|
<p>Responses with neither a freshness lifetime (Expires, max-age) nor cache
|
|
validator (Last-Modified, ETag) are considered uncacheable because there is
|
|
no way to tell when or how to remove them from the cache.</p>
|
|
<p>Note that RFC 7231 and RFC 7234 possibly allow for a more permissive implementation,
|
|
for example "status codes that are defined as cacheable by default [...]
|
|
can be reused by a cache with heuristic expiration unless otherwise indicated"
|
|
(https://tools.ietf.org/html/rfc7231#section-6.1)</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isCacheable#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isClientError">
|
|
isClientError()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isClientError" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1144</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is there a client error?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isClientError</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-Response.html#method_isClientError#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isEmpty">
|
|
isEmpty()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isEmpty" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1204</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is the response empty?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isEmpty</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-Response.html#method_isEmpty#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isForbidden">
|
|
isForbidden()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isForbidden" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1174</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is the response forbidden?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isForbidden</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-Response.html#method_isForbidden#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isFresh">
|
|
isFresh()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isFresh" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">540</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns true if the response is "fresh".</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isFresh</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>Fresh responses may be served from cache without any interaction with the
|
|
origin. A response is considered fresh when it includes a Cache-Control/max-age
|
|
indicator or Expires header and the calculated age is less than the freshness lifetime.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isFresh#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isImmutable">
|
|
isImmutable()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isImmutable" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">613</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns true if the response is marked as "immutable".</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isImmutable</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-Response.html#method_isImmutable#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isInformational">
|
|
isInformational()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isInformational" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1114</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is response informative?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isInformational</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-Response.html#method_isInformational#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isInvalid">
|
|
isInvalid()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isInvalid" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1104</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is response invalid?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isInvalid</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-Response.html#method_isInvalid#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://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html</a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isNotFound">
|
|
isNotFound()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isNotFound" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1184</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is the response a not found error?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isNotFound</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-Response.html#method_isNotFound#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isNotModified">
|
|
isNotModified()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isNotModified" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1058</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Determines if the Response validators (ETag, Last-Modified) match
|
|
a conditional value specified in the Request.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isNotModified</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Symfony-Component-HttpFoundation-Request.html"><abbr title="\Symfony\Component\HttpFoundation\Request">Request</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$request</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>If the Response is not modified, it sets the status code to 304 and
|
|
removes the actual content by calling the setNotModified() method.</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">$request</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Symfony-Component-HttpFoundation-Request.html"><abbr title="\Symfony\Component\HttpFoundation\Request">Request</abbr></a></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-Response.html#method_isNotModified#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isOk">
|
|
isOk()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isOk" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1164</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is the response OK?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isOk</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-Response.html#method_isOk#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isRedirect">
|
|
isRedirect()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isRedirect" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1194</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is the response a redirect of some form?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isRedirect</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$location</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">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">$location</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>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isRedirect#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isRedirection">
|
|
isRedirection()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isRedirection" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1134</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is the response a redirect?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isRedirection</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-Response.html#method_isRedirection#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isServerError">
|
|
isServerError()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isServerError" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1154</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Was there a server side error?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isServerError</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-Response.html#method_isServerError#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isSuccessful">
|
|
isSuccessful()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isSuccessful" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1124</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is response successful?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isSuccessful</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-Response.html#method_isSuccessful#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_isValidateable">
|
|
isValidateable()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isValidateable" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">551</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns true if the response includes headers that can be used to validate
|
|
the response with the origin server using a conditional GET request.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isValidateable</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-Response.html#method_isValidateable#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_mustRevalidate">
|
|
mustRevalidate()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_mustRevalidate" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">628</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns true if the response must be revalidated by shared caches once it has become stale.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mustRevalidate</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 indicates that the response must not be served stale by a
|
|
cache in any circumstance without first revalidating with the origin.
|
|
When present, the TTL of the response should not be overridden to be
|
|
greater than the value provided by the origin.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_mustRevalidate#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</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_prepare">
|
|
prepare()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_prepare" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">183</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Prepares the Response before it is sent to the client.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">prepare</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Symfony-Component-HttpFoundation-Request.html"><abbr title="\Symfony\Component\HttpFoundation\Request">Request</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$request</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Symfony-Component-HttpFoundation-Request.html"><abbr title="\Symfony\Component\HttpFoundation\Request">Request</abbr></a></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">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_send">
|
|
send()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_send" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">370</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sends HTTP headers and content.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">send</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_sendContent">
|
|
sendContent()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_sendContent" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">298</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sends content for the current web response.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">sendContent</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_sendHeaders">
|
|
sendHeaders()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_sendHeaders" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">327</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sends HTTP headers.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">sendHeaders</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setAutoEtag">
|
|
setAutoEtag()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setAutoEtag" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">138</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Automatically sets the ETag header according to the checksum of the file.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setAutoEtag</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setAutoLastModified">
|
|
setAutoLastModified()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setAutoLastModified" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">126</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Automatically sets the Last-Modified header according the file modification date.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setAutoLastModified</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setCache">
|
|
setCache()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setCache" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">928</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the response's cache headers (validation and/or expiration).</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$options</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Available options are: must_revalidate, no_cache, no_store, no_transform, public, private, proxy_revalidate, max_age, s_maxage, immutable, last_modified and etag.</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">$options</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></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-Response.html#method_setCache#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"><abbr title="\InvalidArgumentException">InvalidArgumentException</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setCharset">
|
|
setCharset()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setCharset" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">484</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the response charset.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setCharset</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$charset</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$charset</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</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-Response.html#method_setCharset#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setChunkSize">
|
|
setChunkSize()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setChunkSize" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">110</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the response stream chunk size.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setChunkSize</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$chunkSize</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$chunkSize</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</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">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setClientTtl">
|
|
setClientTtl()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setClientTtl" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">836</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the response's time-to-live for private/client caches in seconds.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setClientTtl</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$seconds</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>This method adjusts the Cache-Control/max-age directive.</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">$seconds</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</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-Response.html#method_setClientTtl#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setContent">
|
|
setContent()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setContent" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">346</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the response content.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setContent</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$content</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$content</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</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-BinaryFileResponse.html#method_setContent#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"><abbr title="\LogicException">LogicException</abbr></span>
|
|
|
|
<section class="phpdocumentor-description"><p>when the content is not null</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setContentDisposition">
|
|
setContentDisposition()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setContentDisposition" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">154</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the Content-Disposition header with the given filename.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setContentDisposition</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$disposition</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$filename</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 </span><span class="phpdocumentor-signature__argument__name">$filenameFallback</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$disposition</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>ResponseHeaderBag::DISPOSITION_INLINE or ResponseHeaderBag::DISPOSITION_ATTACHMENT</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$filename</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Optionally use this UTF-8 encoded filename instead of the real name of the file</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$filenameFallback</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>A fallback filename, containing only ASCII characters. Defaults to an automatically encoded filename</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setContentSafe">
|
|
setContentSafe()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setContentSafe" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1236</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Marks a response as safe according to RFC8674.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setContentSafe</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$safe</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</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">$safe</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</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-Response.html#method_setContentSafe#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>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setDate">
|
|
setDate()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setDate" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">652</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the Date header.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setDate</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$date</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$date</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr></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-Response.html#method_setDate#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setEtag">
|
|
setEtag()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setEtag" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">902</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the ETag value.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setEtag</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$etag</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">bool </span><span class="phpdocumentor-signature__argument__name">$weak</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">$this</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">$etag</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The ETag unique identifier or null to remove the header</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$weak</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>Whether you want a weak ETag or not</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setEtag#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setExpires">
|
|
setExpires()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setExpires" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">717</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the Expires HTTP header with a DateTime instance.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setExpires</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$date</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">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Passing null as value will remove the header.</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">$date</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr></span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</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-Response.html#method_setExpires#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setFile">
|
|
setFile()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setFile" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">66</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the file to stream.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setFile</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\SplFileInfo">SplFileInfo</abbr>|string </span><span class="phpdocumentor-signature__argument__name">$file</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$contentDisposition</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">bool </span><span class="phpdocumentor-signature__argument__name">$autoEtag</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$autoLastModified</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$file</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\SplFileInfo">SplFileInfo</abbr>|string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$contentDisposition</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>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$autoEtag</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">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$autoLastModified</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</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-BinaryFileResponse.html#method_setFile#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-File-Exception-FileException.html"><abbr title="\Symfony\Component\HttpFoundation\File\Exception\FileException">FileException</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setImmutable">
|
|
setImmutable()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setImmutable" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">597</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Marks the response as "immutable".</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setImmutable</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$immutable</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$immutable</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</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-Response.html#method_setImmutable#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setLastModified">
|
|
setLastModified()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setLastModified" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">864</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the Last-Modified HTTP header with a DateTime instance.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setLastModified</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$date</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">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Passing null as value will remove the header.</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">$date</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\DateTimeInterface">DateTimeInterface</abbr></span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</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-Response.html#method_setLastModified#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setMaxAge">
|
|
setMaxAge()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setMaxAge" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">770</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the number of seconds after which the response should no longer be considered fresh.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setMaxAge</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>This methods sets the Cache-Control max-age directive.</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">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</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-Response.html#method_setMaxAge#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setNotModified">
|
|
setNotModified()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setNotModified" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">991</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Modifies the response so that it conforms to the rules defined for a 304 status code.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setNotModified</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>This sets the status, removes the body, and discards any headers
|
|
that MUST NOT be included in 304 responses.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setNotModified#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/rfc2616#section-10.3.5">https://tools.ietf.org/html/rfc2616#section-10.3.5</a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setPrivate">
|
|
setPrivate()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setPrivate" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">565</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Marks the response as "private".</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setPrivate</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>It makes the response ineligible for serving other clients.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setPrivate#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setProtocolVersion">
|
|
setProtocolVersion()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setProtocolVersion" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">414</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the HTTP protocol version (1.0 or 1.1).</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setProtocolVersion</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$version</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$version</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</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-Response.html#method_setProtocolVersion#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setPublic">
|
|
setPublic()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setPublic" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">582</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Marks the response as "public".</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setPublic</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>It makes the response eligible for serving other clients.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setPublic#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setSharedMaxAge">
|
|
setSharedMaxAge()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setSharedMaxAge" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">786</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the number of seconds after which the response should no longer be considered fresh by shared caches.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setSharedMaxAge</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>This methods sets the Cache-Control s-maxage directive.</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">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</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-Response.html#method_setSharedMaxAge#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setStatusCode">
|
|
setStatusCode()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setStatusCode" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">443</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the response status code.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setStatusCode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$code</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</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">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>If the status text is null it will be automatically populated for the known
|
|
status codes and left empty otherwise.</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">$code</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">$text</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>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setStatusCode#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"><abbr title="\InvalidArgumentException">InvalidArgumentException</abbr></span>
|
|
|
|
<section class="phpdocumentor-description"><p>When the HTTP status code is not valid</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setTtl">
|
|
setTtl()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setTtl" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">820</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the response's time-to-live for shared caches in seconds.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setTtl</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$seconds</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>This method adjusts the Cache-Control/s-maxage directive.</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">$seconds</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</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-Response.html#method_setTtl#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setVary">
|
|
setVary()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setVary" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1042</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the Vary header.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setVary</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$headers</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$replace</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</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">$headers</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$replace</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether to replace the actual value or not (true by default)</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setVary#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">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_trustXSendfileTypeHeader">
|
|
trustXSendfileTypeHeader()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_trustXSendfileTypeHeader" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">366</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Trust X-Sendfile-Type header.</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">trustXSendfileTypeHeader</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_ensureIEOverSSLCompatibility">
|
|
ensureIEOverSSLCompatibility()
|
|
<a href="classes/Symfony-Component-HttpFoundation-Response.html#method_ensureIEOverSSLCompatibility" 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/Response.php"><a href="files/vendor-symfony-http-foundation-response.html"><abbr title="vendor/symfony/http-foundation/Response.php">Response.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1254</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Checks if we need to remove Cache-Control for SSL encrypted downloads when using IE < 9.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">ensureIEOverSSLCompatibility</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Symfony-Component-HttpFoundation-Request.html"><abbr title="\Symfony\Component\HttpFoundation\Request">Request</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$request</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">$request</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Symfony-Component-HttpFoundation-Request.html"><abbr title="\Symfony\Component\HttpFoundation\Request">Request</abbr></a></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-Response.html#method_ensureIEOverSSLCompatibility#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="http://support.microsoft.com/kb/323308">http://support.microsoft.com/kb/323308</a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">final</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_hasValidIfRangeHeader">
|
|
hasValidIfRangeHeader()
|
|
<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_hasValidIfRangeHeader" 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/BinaryFileResponse.php"><a href="files/vendor-symfony-http-foundation-binaryfileresponse.html"><abbr title="vendor/symfony/http-foundation/BinaryFileResponse.php">BinaryFileResponse.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">282</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">hasValidIfRangeHeader</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$header</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">$header</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">bool</span>
|
|
</section>
|
|
|
|
</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/BinaryFileResponse.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
|
</div>
|
|
<button data-exit-button class="phpdocumentor-modal__close">×</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-BinaryFileResponse.html#toc-constants">Constants</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#toc-properties">Properties</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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-Response.html#constant_HTTP_ACCEPTED">HTTP_ACCEPTED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_ALREADY_REPORTED">HTTP_ALREADY_REPORTED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_BAD_GATEWAY">HTTP_BAD_GATEWAY</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_BAD_REQUEST">HTTP_BAD_REQUEST</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_CONFLICT">HTTP_CONFLICT</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_CONTINUE">HTTP_CONTINUE</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_CREATED">HTTP_CREATED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_EARLY_HINTS">HTTP_EARLY_HINTS</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_EXPECTATION_FAILED">HTTP_EXPECTATION_FAILED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_FAILED_DEPENDENCY">HTTP_FAILED_DEPENDENCY</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_FORBIDDEN">HTTP_FORBIDDEN</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_FOUND">HTTP_FOUND</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_GATEWAY_TIMEOUT">HTTP_GATEWAY_TIMEOUT</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_GONE">HTTP_GONE</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_I_AM_A_TEAPOT">HTTP_I_AM_A_TEAPOT</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_IM_USED">HTTP_IM_USED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_INSUFFICIENT_STORAGE">HTTP_INSUFFICIENT_STORAGE</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_INTERNAL_SERVER_ERROR">HTTP_INTERNAL_SERVER_ERROR</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_LENGTH_REQUIRED">HTTP_LENGTH_REQUIRED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_LOCKED">HTTP_LOCKED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_LOOP_DETECTED">HTTP_LOOP_DETECTED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_METHOD_NOT_ALLOWED">HTTP_METHOD_NOT_ALLOWED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MISDIRECTED_REQUEST">HTTP_MISDIRECTED_REQUEST</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MOVED_PERMANENTLY">HTTP_MOVED_PERMANENTLY</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MULTI_STATUS">HTTP_MULTI_STATUS</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_MULTIPLE_CHOICES">HTTP_MULTIPLE_CHOICES</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NETWORK_AUTHENTICATION_REQUIRED">HTTP_NETWORK_AUTHENTICATION_REQUIRED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NO_CONTENT">HTTP_NO_CONTENT</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NON_AUTHORITATIVE_INFORMATION">HTTP_NON_AUTHORITATIVE_INFORMATION</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_ACCEPTABLE">HTTP_NOT_ACCEPTABLE</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_EXTENDED">HTTP_NOT_EXTENDED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_FOUND">HTTP_NOT_FOUND</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_IMPLEMENTED">HTTP_NOT_IMPLEMENTED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_NOT_MODIFIED">HTTP_NOT_MODIFIED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_OK">HTTP_OK</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PARTIAL_CONTENT">HTTP_PARTIAL_CONTENT</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PAYMENT_REQUIRED">HTTP_PAYMENT_REQUIRED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PERMANENTLY_REDIRECT">HTTP_PERMANENTLY_REDIRECT</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PRECONDITION_FAILED">HTTP_PRECONDITION_FAILED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PRECONDITION_REQUIRED">HTTP_PRECONDITION_REQUIRED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PROCESSING">HTTP_PROCESSING</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_PROXY_AUTHENTICATION_REQUIRED">HTTP_PROXY_AUTHENTICATION_REQUIRED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_ENTITY_TOO_LARGE">HTTP_REQUEST_ENTITY_TOO_LARGE</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE">HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_TIMEOUT">HTTP_REQUEST_TIMEOUT</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUEST_URI_TOO_LONG">HTTP_REQUEST_URI_TOO_LONG</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE">HTTP_REQUESTED_RANGE_NOT_SATISFIABLE</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_RESERVED">HTTP_RESERVED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_RESET_CONTENT">HTTP_RESET_CONTENT</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_SEE_OTHER">HTTP_SEE_OTHER</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_SERVICE_UNAVAILABLE">HTTP_SERVICE_UNAVAILABLE</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_SWITCHING_PROTOCOLS">HTTP_SWITCHING_PROTOCOLS</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_TEMPORARY_REDIRECT">HTTP_TEMPORARY_REDIRECT</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_TOO_EARLY">HTTP_TOO_EARLY</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_TOO_MANY_REQUESTS">HTTP_TOO_MANY_REQUESTS</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNAUTHORIZED">HTTP_UNAUTHORIZED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS">HTTP_UNAVAILABLE_FOR_LEGAL_REASONS</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNPROCESSABLE_ENTITY">HTTP_UNPROCESSABLE_ENTITY</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UNSUPPORTED_MEDIA_TYPE">HTTP_UNSUPPORTED_MEDIA_TYPE</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_UPGRADE_REQUIRED">HTTP_UPGRADE_REQUIRED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_USE_PROXY">HTTP_USE_PROXY</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL">HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_VERSION_NOT_SUPPORTED">HTTP_VERSION_NOT_SUPPORTED</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#constant_HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES">HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES</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-Response.html#property_headers">$headers<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#property_statusTexts">$statusTexts<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#property_charset">$charset<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_chunkSize">$chunkSize<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#property_content">$content<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_deleteFileAfterSend">$deleteFileAfterSend<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_file">$file<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_maxlen">$maxlen<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_offset">$offset<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#property_statusCode">$statusCode<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#property_statusText">$statusText<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#property_trustXSendfileTypeHeader">$trustXSendfileTypeHeader<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html"></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#property_version">$version<a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.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-Response.html#method___clone">__clone()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method___construct">__construct()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method___toString">__toString()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_closeOutputBuffers">closeOutputBuffers()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_deleteFileAfterSend">deleteFileAfterSend()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_expire">expire()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getAge">getAge()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getCharset">getCharset()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_getContent">getContent()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getDate">getDate()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getEtag">getEtag()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getExpires">getExpires()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_getFile">getFile()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getLastModified">getLastModified()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getMaxAge">getMaxAge()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getProtocolVersion">getProtocolVersion()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getStatusCode">getStatusCode()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getTtl">getTtl()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_getVary">getVary()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_hasVary">hasVary()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isCacheable">isCacheable()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isClientError">isClientError()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isEmpty">isEmpty()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isForbidden">isForbidden()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isFresh">isFresh()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isImmutable">isImmutable()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isInformational">isInformational()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isInvalid">isInvalid()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isNotFound">isNotFound()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isNotModified">isNotModified()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isOk">isOk()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isRedirect">isRedirect()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isRedirection">isRedirection()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isServerError">isServerError()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isSuccessful">isSuccessful()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_isValidateable">isValidateable()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_mustRevalidate">mustRevalidate()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_prepare">prepare()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_send">send()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_sendContent">sendContent()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_sendHeaders">sendHeaders()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setAutoEtag">setAutoEtag()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setAutoLastModified">setAutoLastModified()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setCache">setCache()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setCharset">setCharset()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setChunkSize">setChunkSize()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setClientTtl">setClientTtl()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setContent">setContent()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setContentDisposition">setContentDisposition()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setContentSafe">setContentSafe()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setDate">setDate()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setEtag">setEtag()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setExpires">setExpires()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_setFile">setFile()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setImmutable">setImmutable()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setLastModified">setLastModified()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setMaxAge">setMaxAge()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setNotModified">setNotModified()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setPrivate">setPrivate()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setProtocolVersion">setProtocolVersion()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setPublic">setPublic()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setSharedMaxAge">setSharedMaxAge()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setStatusCode">setStatusCode()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setTtl">setTtl()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_setVary">setVary()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_trustXSendfileTypeHeader">trustXSendfileTypeHeader()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-Response.html#method_ensureIEOverSSLCompatibility">ensureIEOverSSLCompatibility()</a></li>
|
|
<li><a href="classes/Symfony-Component-HttpFoundation-BinaryFileResponse.html#method_hasValidIfRangeHeader">hasValidIfRangeHeader()</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-BinaryFileResponse.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>
|