Open Journal Systems  3.3.0
vendor/symfony/http-foundation/Response.php
1 <?php
2 
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
13 
14 // Help opcache.preload discover always-needed symbols
15 class_exists(ResponseHeaderBag::class);
16 
22 class Response
23 {
24  const HTTP_CONTINUE = 100;
25  const HTTP_SWITCHING_PROTOCOLS = 101;
26  const HTTP_PROCESSING = 102; // RFC2518
27  const HTTP_EARLY_HINTS = 103; // RFC8297
28  const HTTP_OK = 200;
29  const HTTP_CREATED = 201;
30  const HTTP_ACCEPTED = 202;
32  const HTTP_NO_CONTENT = 204;
33  const HTTP_RESET_CONTENT = 205;
34  const HTTP_PARTIAL_CONTENT = 206;
35  const HTTP_MULTI_STATUS = 207; // RFC4918
36  const HTTP_ALREADY_REPORTED = 208; // RFC5842
37  const HTTP_IM_USED = 226; // RFC3229
38  const HTTP_MULTIPLE_CHOICES = 300;
39  const HTTP_MOVED_PERMANENTLY = 301;
40  const HTTP_FOUND = 302;
41  const HTTP_SEE_OTHER = 303;
42  const HTTP_NOT_MODIFIED = 304;
43  const HTTP_USE_PROXY = 305;
44  const HTTP_RESERVED = 306;
45  const HTTP_TEMPORARY_REDIRECT = 307;
46  const HTTP_PERMANENTLY_REDIRECT = 308; // RFC7238
47  const HTTP_BAD_REQUEST = 400;
48  const HTTP_UNAUTHORIZED = 401;
49  const HTTP_PAYMENT_REQUIRED = 402;
50  const HTTP_FORBIDDEN = 403;
51  const HTTP_NOT_FOUND = 404;
52  const HTTP_METHOD_NOT_ALLOWED = 405;
53  const HTTP_NOT_ACCEPTABLE = 406;
55  const HTTP_REQUEST_TIMEOUT = 408;
56  const HTTP_CONFLICT = 409;
57  const HTTP_GONE = 410;
58  const HTTP_LENGTH_REQUIRED = 411;
59  const HTTP_PRECONDITION_FAILED = 412;
61  const HTTP_REQUEST_URI_TOO_LONG = 414;
62  const HTTP_UNSUPPORTED_MEDIA_TYPE = 415;
64  const HTTP_EXPECTATION_FAILED = 417;
65  const HTTP_I_AM_A_TEAPOT = 418; // RFC2324
66  const HTTP_MISDIRECTED_REQUEST = 421; // RFC7540
67  const HTTP_UNPROCESSABLE_ENTITY = 422; // RFC4918
68  const HTTP_LOCKED = 423; // RFC4918
69  const HTTP_FAILED_DEPENDENCY = 424; // RFC4918
70 
75  const HTTP_TOO_EARLY = 425; // RFC-ietf-httpbis-replay-04
76  const HTTP_UPGRADE_REQUIRED = 426; // RFC2817
77  const HTTP_PRECONDITION_REQUIRED = 428; // RFC6585
78  const HTTP_TOO_MANY_REQUESTS = 429; // RFC6585
79  const HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431; // RFC6585
81  const HTTP_INTERNAL_SERVER_ERROR = 500;
82  const HTTP_NOT_IMPLEMENTED = 501;
83  const HTTP_BAD_GATEWAY = 502;
84  const HTTP_SERVICE_UNAVAILABLE = 503;
85  const HTTP_GATEWAY_TIMEOUT = 504;
86  const HTTP_VERSION_NOT_SUPPORTED = 505;
87  const HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL = 506; // RFC2295
88  const HTTP_INSUFFICIENT_STORAGE = 507; // RFC4918
89  const HTTP_LOOP_DETECTED = 508; // RFC5842
90  const HTTP_NOT_EXTENDED = 510; // RFC2774
91  const HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511; // RFC6585
92 
96  public $headers;
97 
101  protected $content;
102 
106  protected $version;
107 
111  protected $statusCode;
112 
116  protected $statusText;
117 
121  protected $charset;
122 
134  public static $statusTexts = [
135  100 => 'Continue',
136  101 => 'Switching Protocols',
137  102 => 'Processing', // RFC2518
138  103 => 'Early Hints',
139  200 => 'OK',
140  201 => 'Created',
141  202 => 'Accepted',
142  203 => 'Non-Authoritative Information',
143  204 => 'No Content',
144  205 => 'Reset Content',
145  206 => 'Partial Content',
146  207 => 'Multi-Status', // RFC4918
147  208 => 'Already Reported', // RFC5842
148  226 => 'IM Used', // RFC3229
149  300 => 'Multiple Choices',
150  301 => 'Moved Permanently',
151  302 => 'Found',
152  303 => 'See Other',
153  304 => 'Not Modified',
154  305 => 'Use Proxy',
155  307 => 'Temporary Redirect',
156  308 => 'Permanent Redirect', // RFC7238
157  400 => 'Bad Request',
158  401 => 'Unauthorized',
159  402 => 'Payment Required',
160  403 => 'Forbidden',
161  404 => 'Not Found',
162  405 => 'Method Not Allowed',
163  406 => 'Not Acceptable',
164  407 => 'Proxy Authentication Required',
165  408 => 'Request Timeout',
166  409 => 'Conflict',
167  410 => 'Gone',
168  411 => 'Length Required',
169  412 => 'Precondition Failed',
170  413 => 'Payload Too Large',
171  414 => 'URI Too Long',
172  415 => 'Unsupported Media Type',
173  416 => 'Range Not Satisfiable',
174  417 => 'Expectation Failed',
175  418 => 'I\'m a teapot', // RFC2324
176  421 => 'Misdirected Request', // RFC7540
177  422 => 'Unprocessable Entity', // RFC4918
178  423 => 'Locked', // RFC4918
179  424 => 'Failed Dependency', // RFC4918
180  425 => 'Too Early', // RFC-ietf-httpbis-replay-04
181  426 => 'Upgrade Required', // RFC2817
182  428 => 'Precondition Required', // RFC6585
183  429 => 'Too Many Requests', // RFC6585
184  431 => 'Request Header Fields Too Large', // RFC6585
185  451 => 'Unavailable For Legal Reasons', // RFC7725
186  500 => 'Internal Server Error',
187  501 => 'Not Implemented',
188  502 => 'Bad Gateway',
189  503 => 'Service Unavailable',
190  504 => 'Gateway Timeout',
191  505 => 'HTTP Version Not Supported',
192  506 => 'Variant Also Negotiates', // RFC2295
193  507 => 'Insufficient Storage', // RFC4918
194  508 => 'Loop Detected', // RFC5842
195  510 => 'Not Extended', // RFC2774
196  511 => 'Network Authentication Required', // RFC6585
197  ];
198 
202  public function __construct($content = '', int $status = 200, array $headers = [])
203  {
204  $this->headers = new ResponseHeaderBag($headers);
205  $this->setContent($content);
206  $this->setStatusCode($status);
207  $this->setProtocolVersion('1.0');
208  }
209 
224  public static function create($content = '', $status = 200, $headers = [])
225  {
226  return new static($content, $status, $headers);
227  }
228 
240  public function __toString()
241  {
242  return
243  sprintf('HTTP/%s %s %s', $this->version, $this->statusCode, $this->statusText)."\r\n".
244  $this->headers."\r\n".
245  $this->getContent();
246  }
247 
251  public function __clone()
252  {
253  $this->headers = clone $this->headers;
254  }
255 
265  public function prepare(Request $request)
266  {
268 
269  if ($this->isInformational() || $this->isEmpty()) {
270  $this->setContent(null);
271  $headers->remove('Content-Type');
272  $headers->remove('Content-Length');
273  // prevent PHP from sending the Content-Type header based on default_mimetype
274  ini_set('default_mimetype', '');
275  } else {
276  // Content-type based on the Request
277  if (!$headers->has('Content-Type')) {
278  $format = $request->getRequestFormat(null);
279  if (null !== $format && $mimeType = $request->getMimeType($format)) {
280  $headers->set('Content-Type', $mimeType);
281  }
282  }
283 
284  // Fix Content-Type
285  $charset = $this->charset ?: 'UTF-8';
286  if (!$headers->has('Content-Type')) {
287  $headers->set('Content-Type', 'text/html; charset='.$charset);
288  } elseif (0 === stripos($headers->get('Content-Type'), 'text/') && false === stripos($headers->get('Content-Type'), 'charset')) {
289  // add the charset
290  $headers->set('Content-Type', $headers->get('Content-Type').'; charset='.$charset);
291  }
292 
293  // Fix Content-Length
294  if ($headers->has('Transfer-Encoding')) {
295  $headers->remove('Content-Length');
296  }
297 
298  if ($request->isMethod('HEAD')) {
299  // cf. RFC2616 14.13
300  $length = $headers->get('Content-Length');
301  $this->setContent(null);
302  if ($length) {
303  $headers->set('Content-Length', $length);
304  }
305  }
306  }
307 
308  // Fix protocol
309  if ('HTTP/1.0' != $request->server->get('SERVER_PROTOCOL')) {
310  $this->setProtocolVersion('1.1');
311  }
312 
313  // Check if we need to send extra expire info headers
314  if ('1.0' == $this->getProtocolVersion() && false !== strpos($headers->get('Cache-Control'), 'no-cache')) {
315  $headers->set('pragma', 'no-cache');
316  $headers->set('expires', -1);
317  }
318 
319  $this->ensureIEOverSSLCompatibility($request);
320 
321  if ($request->isSecure()) {
322  foreach ($headers->getCookies() as $cookie) {
323  $cookie->setSecureDefault(true);
324  }
325  }
326 
327  return $this;
328  }
329 
335  public function sendHeaders()
336  {
337  // headers have already been sent by the developer
338  if (headers_sent()) {
339  return $this;
340  }
341 
342  // headers
343  foreach ($this->headers->allPreserveCaseWithoutCookies() as $name => $values) {
344  $replace = 0 === strcasecmp($name, 'Content-Type');
345  foreach ($values as $value) {
346  header($name.': '.$value, $replace, $this->statusCode);
347  }
348  }
349 
350  // cookies
351  foreach ($this->headers->getCookies() as $cookie) {
352  header('Set-Cookie: '.$cookie, false, $this->statusCode);
353  }
354 
355  // status
356  header(sprintf('HTTP/%s %s %s', $this->version, $this->statusCode, $this->statusText), true, $this->statusCode);
357 
358  return $this;
359  }
360 
366  public function sendContent()
367  {
368  echo $this->content;
369 
370  return $this;
371  }
372 
378  public function send()
379  {
380  $this->sendHeaders();
381  $this->sendContent();
382 
383  if (\function_exists('fastcgi_finish_request')) {
384  fastcgi_finish_request();
385  } elseif (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true)) {
386  static::closeOutputBuffers(0, true);
387  }
388 
389  return $this;
390  }
391 
403  public function setContent($content)
404  {
405  if (null !== $content && !\is_string($content) && !is_numeric($content) && !\is_callable([$content, '__toString'])) {
406  throw new \UnexpectedValueException(sprintf('The Response content must be a string or object implementing __toString(), "%s" given.', \gettype($content)));
407  }
408 
409  $this->content = (string) $content;
410 
411  return $this;
412  }
413 
419  public function getContent()
420  {
422  }
423 
431  public function setProtocolVersion(string $version)
432  {
433  $this->version = $version;
434 
435  return $this;
436  }
437 
443  public function getProtocolVersion(): string
444  {
445  return $this->version;
446  }
447 
460  public function setStatusCode(int $code, $text = null)
461  {
462  $this->statusCode = $code;
463  if ($this->isInvalid()) {
464  throw new \InvalidArgumentException(sprintf('The HTTP status code "%s" is not valid.', $code));
465  }
466 
467  if (null === $text) {
468  $this->statusText = isset(self::$statusTexts[$code]) ? self::$statusTexts[$code] : 'unknown status';
469 
470  return $this;
471  }
472 
473  if (false === $text) {
474  $this->statusText = '';
475 
476  return $this;
477  }
478 
479  $this->statusText = $text;
480 
481  return $this;
482  }
483 
489  public function getStatusCode(): int
490  {
491  return $this->statusCode;
492  }
493 
501  public function setCharset(string $charset)
502  {
503  $this->charset = $charset;
504 
505  return $this;
506  }
507 
513  public function getCharset(): ?string
514  {
515  return $this->charset;
516  }
517 
535  public function isCacheable(): bool
536  {
537  if (!\in_array($this->statusCode, [200, 203, 300, 301, 302, 404, 410])) {
538  return false;
539  }
540 
541  if ($this->headers->hasCacheControlDirective('no-store') || $this->headers->getCacheControlDirective('private')) {
542  return false;
543  }
544 
545  return $this->isValidateable() || $this->isFresh();
546  }
547 
557  public function isFresh(): bool
558  {
559  return $this->getTtl() > 0;
560  }
561 
568  public function isValidateable(): bool
569  {
570  return $this->headers->has('Last-Modified') || $this->headers->has('ETag');
571  }
572 
582  public function setPrivate()
583  {
584  $this->headers->removeCacheControlDirective('public');
585  $this->headers->addCacheControlDirective('private');
586 
587  return $this;
588  }
589 
599  public function setPublic()
600  {
601  $this->headers->addCacheControlDirective('public');
602  $this->headers->removeCacheControlDirective('private');
603 
604  return $this;
605  }
606 
614  public function setImmutable(bool $immutable = true)
615  {
616  if ($immutable) {
617  $this->headers->addCacheControlDirective('immutable');
618  } else {
619  $this->headers->removeCacheControlDirective('immutable');
620  }
621 
622  return $this;
623  }
624 
630  public function isImmutable(): bool
631  {
632  return $this->headers->hasCacheControlDirective('immutable');
633  }
634 
645  public function mustRevalidate(): bool
646  {
647  return $this->headers->hasCacheControlDirective('must-revalidate') || $this->headers->hasCacheControlDirective('proxy-revalidate');
648  }
649 
657  public function getDate(): ?\DateTimeInterface
658  {
659  return $this->headers->getDate('Date');
660  }
661 
669  public function setDate(\DateTimeInterface $date)
670  {
671  if ($date instanceof \DateTime) {
672  $date = \DateTimeImmutable::createFromMutable($date);
673  }
674 
675  $date = $date->setTimezone(new \DateTimeZone('UTC'));
676  $this->headers->set('Date', $date->format('D, d M Y H:i:s').' GMT');
677 
678  return $this;
679  }
680 
686  public function getAge(): int
687  {
688  if (null !== $age = $this->headers->get('Age')) {
689  return (int) $age;
690  }
691 
692  return max(time() - (int) $this->getDate()->format('U'), 0);
693  }
694 
700  public function expire()
701  {
702  if ($this->isFresh()) {
703  $this->headers->set('Age', $this->getMaxAge());
704  $this->headers->remove('Expires');
705  }
706 
707  return $this;
708  }
709 
715  public function getExpires(): ?\DateTimeInterface
716  {
717  try {
718  return $this->headers->getDate('Expires');
719  } catch (\RuntimeException $e) {
720  // according to RFC 2616 invalid date formats (e.g. "0" and "-1") must be treated as in the past
721  return \DateTime::createFromFormat('U', time() - 172800);
722  }
723  }
724 
734  public function setExpires(\DateTimeInterface $date = null)
735  {
736  if (null === $date) {
737  $this->headers->remove('Expires');
738 
739  return $this;
740  }
741 
742  if ($date instanceof \DateTime) {
743  $date = \DateTimeImmutable::createFromMutable($date);
744  }
745 
746  $date = $date->setTimezone(new \DateTimeZone('UTC'));
747  $this->headers->set('Expires', $date->format('D, d M Y H:i:s').' GMT');
748 
749  return $this;
750  }
751 
761  public function getMaxAge(): ?int
762  {
763  if ($this->headers->hasCacheControlDirective('s-maxage')) {
764  return (int) $this->headers->getCacheControlDirective('s-maxage');
765  }
766 
767  if ($this->headers->hasCacheControlDirective('max-age')) {
768  return (int) $this->headers->getCacheControlDirective('max-age');
769  }
770 
771  if (null !== $this->getExpires()) {
772  return (int) $this->getExpires()->format('U') - (int) $this->getDate()->format('U');
773  }
774 
775  return null;
776  }
777 
787  public function setMaxAge(int $value)
788  {
789  $this->headers->addCacheControlDirective('max-age', $value);
790 
791  return $this;
792  }
793 
803  public function setSharedMaxAge(int $value)
804  {
805  $this->setPublic();
806  $this->headers->addCacheControlDirective('s-maxage', $value);
807 
808  return $this;
809  }
810 
821  public function getTtl(): ?int
822  {
823  $maxAge = $this->getMaxAge();
824 
825  return null !== $maxAge ? $maxAge - $this->getAge() : null;
826  }
827 
837  public function setTtl(int $seconds)
838  {
839  $this->setSharedMaxAge($this->getAge() + $seconds);
840 
841  return $this;
842  }
843 
853  public function setClientTtl(int $seconds)
854  {
855  $this->setMaxAge($this->getAge() + $seconds);
856 
857  return $this;
858  }
859 
867  public function getLastModified(): ?\DateTimeInterface
868  {
869  return $this->headers->getDate('Last-Modified');
870  }
871 
881  public function setLastModified(\DateTimeInterface $date = null)
882  {
883  if (null === $date) {
884  $this->headers->remove('Last-Modified');
885 
886  return $this;
887  }
888 
889  if ($date instanceof \DateTime) {
890  $date = \DateTimeImmutable::createFromMutable($date);
891  }
892 
893  $date = $date->setTimezone(new \DateTimeZone('UTC'));
894  $this->headers->set('Last-Modified', $date->format('D, d M Y H:i:s').' GMT');
895 
896  return $this;
897  }
898 
904  public function getEtag(): ?string
905  {
906  return $this->headers->get('ETag');
907  }
908 
919  public function setEtag(string $etag = null, bool $weak = false)
920  {
921  if (null === $etag) {
922  $this->headers->remove('Etag');
923  } else {
924  if (0 !== strpos($etag, '"')) {
925  $etag = '"'.$etag.'"';
926  }
927 
928  $this->headers->set('ETag', (true === $weak ? 'W/' : '').$etag);
929  }
930 
931  return $this;
932  }
933 
945  public function setCache(array $options)
946  {
947  if ($diff = array_diff(array_keys($options), ['etag', 'last_modified', 'max_age', 's_maxage', 'private', 'public', 'immutable'])) {
948  throw new \InvalidArgumentException(sprintf('Response does not support the following options: "%s".', implode('", "', $diff)));
949  }
950 
951  if (isset($options['etag'])) {
952  $this->setEtag($options['etag']);
953  }
954 
955  if (isset($options['last_modified'])) {
956  $this->setLastModified($options['last_modified']);
957  }
958 
959  if (isset($options['max_age'])) {
960  $this->setMaxAge($options['max_age']);
961  }
962 
963  if (isset($options['s_maxage'])) {
964  $this->setSharedMaxAge($options['s_maxage']);
965  }
966 
967  if (isset($options['public'])) {
968  if ($options['public']) {
969  $this->setPublic();
970  } else {
971  $this->setPrivate();
972  }
973  }
974 
975  if (isset($options['private'])) {
976  if ($options['private']) {
977  $this->setPrivate();
978  } else {
979  $this->setPublic();
980  }
981  }
982 
983  if (isset($options['immutable'])) {
984  $this->setImmutable((bool) $options['immutable']);
985  }
986 
987  return $this;
988  }
989 
1002  public function setNotModified()
1003  {
1004  $this->setStatusCode(304);
1005  $this->setContent(null);
1006 
1007  // remove headers that MUST NOT be included with 304 Not Modified responses
1008  foreach (['Allow', 'Content-Encoding', 'Content-Language', 'Content-Length', 'Content-MD5', 'Content-Type', 'Last-Modified'] as $header) {
1009  $this->headers->remove($header);
1010  }
1011 
1012  return $this;
1013  }
1014 
1020  public function hasVary(): bool
1021  {
1022  return null !== $this->headers->get('Vary');
1023  }
1024 
1030  public function getVary(): array
1031  {
1032  if (!$vary = $this->headers->all('Vary')) {
1033  return [];
1034  }
1035 
1036  $ret = [];
1037  foreach ($vary as $item) {
1038  $ret = array_merge($ret, preg_split('/[\s,]+/', $item));
1039  }
1040 
1041  return $ret;
1042  }
1043 
1054  public function setVary($headers, bool $replace = true)
1055  {
1056  $this->headers->set('Vary', $headers, $replace);
1057 
1058  return $this;
1059  }
1060 
1072  public function isNotModified(Request $request): bool
1073  {
1074  if (!$request->isMethodCacheable()) {
1075  return false;
1076  }
1077 
1078  $notModified = false;
1079  $lastModified = $this->headers->get('Last-Modified');
1080  $modifiedSince = $request->headers->get('If-Modified-Since');
1081 
1082  if ($etags = $request->getETags()) {
1083  $notModified = \in_array($this->getEtag(), $etags) || \in_array('*', $etags);
1084  }
1085 
1086  if ($modifiedSince && $lastModified) {
1087  $notModified = strtotime($modifiedSince) >= strtotime($lastModified) && (!$etags || $notModified);
1088  }
1089 
1090  if ($notModified) {
1091  $this->setNotModified();
1092  }
1093 
1094  return $notModified;
1095  }
1096 
1104  public function isInvalid(): bool
1105  {
1106  return $this->statusCode < 100 || $this->statusCode >= 600;
1107  }
1108 
1114  public function isInformational(): bool
1115  {
1116  return $this->statusCode >= 100 && $this->statusCode < 200;
1117  }
1118 
1124  public function isSuccessful(): bool
1125  {
1126  return $this->statusCode >= 200 && $this->statusCode < 300;
1127  }
1128 
1134  public function isRedirection(): bool
1135  {
1136  return $this->statusCode >= 300 && $this->statusCode < 400;
1137  }
1138 
1144  public function isClientError(): bool
1145  {
1146  return $this->statusCode >= 400 && $this->statusCode < 500;
1147  }
1148 
1154  public function isServerError(): bool
1155  {
1156  return $this->statusCode >= 500 && $this->statusCode < 600;
1157  }
1158 
1164  public function isOk(): bool
1165  {
1166  return 200 === $this->statusCode;
1167  }
1168 
1174  public function isForbidden(): bool
1175  {
1176  return 403 === $this->statusCode;
1177  }
1178 
1184  public function isNotFound(): bool
1185  {
1186  return 404 === $this->statusCode;
1187  }
1188 
1194  public function isRedirect(string $location = null): bool
1195  {
1196  return \in_array($this->statusCode, [201, 301, 302, 303, 307, 308]) && (null === $location ?: $location == $this->headers->get('Location'));
1197  }
1198 
1204  public function isEmpty(): bool
1205  {
1206  return \in_array($this->statusCode, [204, 304]);
1207  }
1208 
1216  public static function closeOutputBuffers(int $targetLevel, bool $flush): void
1217  {
1218  $status = ob_get_status(true);
1219  $level = \count($status);
1220  $flags = PHP_OUTPUT_HANDLER_REMOVABLE | ($flush ? PHP_OUTPUT_HANDLER_FLUSHABLE : PHP_OUTPUT_HANDLER_CLEANABLE);
1221 
1222  while ($level-- > $targetLevel && ($s = $status[$level]) && (!isset($s['del']) ? !isset($s['flags']) || ($s['flags'] & $flags) === $flags : $s['del'])) {
1223  if ($flush) {
1224  ob_end_flush();
1225  } else {
1226  ob_end_clean();
1227  }
1228  }
1229  }
1230 
1238  protected function ensureIEOverSSLCompatibility(Request $request): void
1239  {
1240  if (false !== stripos($this->headers->get('Content-Disposition'), 'attachment') && 1 == preg_match('/MSIE (.*?);/i', $request->server->get('HTTP_USER_AGENT'), $match) && true === $request->isSecure()) {
1241  if ((int) preg_replace('/(MSIE )(.*?);/', '$2', $match[0]) < 9) {
1242  $this->headers->remove('Cache-Control');
1243  }
1244  }
1245  }
1246 }
Symfony\Component\HttpFoundation\Response\HTTP_FORBIDDEN
const HTTP_FORBIDDEN
Definition: lib/vendor/symfony/http-foundation/Response.php:46
Symfony\Component\HttpFoundation\Response\isFresh
isFresh()
Definition: lib/vendor/symfony/http-foundation/Response.php:589
Symfony\Component\HttpFoundation\Response\HTTP_MOVED_PERMANENTLY
const HTTP_MOVED_PERMANENTLY
Definition: lib/vendor/symfony/http-foundation/Response.php:35
Symfony\Component\HttpFoundation\Response\isServerError
isServerError()
Definition: vendor/symfony/http-foundation/Response.php:1172
Symfony\Component\HttpFoundation\Response\__construct
__construct($content='', $status=200, $headers=array())
Definition: lib/vendor/symfony/http-foundation/Response.php:216
Symfony\Component\HttpFoundation\Response\setExpires
setExpires(\DateTimeInterface $date=null)
Definition: vendor/symfony/http-foundation/Response.php:752
Symfony\Component\HttpFoundation\Response\HTTP_SEE_OTHER
const HTTP_SEE_OTHER
Definition: lib/vendor/symfony/http-foundation/Response.php:37
Symfony\Component\HttpFoundation\Response\__construct
__construct($content='', int $status=200, array $headers=[])
Definition: vendor/symfony/http-foundation/Response.php:220
Symfony\Component\HttpFoundation\Response\__toString
__toString()
Definition: vendor/symfony/http-foundation/Response.php:258
Symfony\Component\HttpFoundation\Response\HTTP_FAILED_DEPENDENCY
const HTTP_FAILED_DEPENDENCY
Definition: lib/vendor/symfony/http-foundation/Response.php:65
Symfony\Component\HttpFoundation\Response\isOk
isOk()
Definition: vendor/symfony/http-foundation/Response.php:1182
Symfony\Component\HttpFoundation\Response\setContent
setContent($content)
Definition: lib/vendor/symfony/http-foundation/Response.php:424
Symfony\Component\HttpFoundation\Response\create
static create($content='', $status=200, $headers=[])
Definition: vendor/symfony/http-foundation/Response.php:242
Symfony\Component\HttpFoundation\Response\HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL
const HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL
Definition: lib/vendor/symfony/http-foundation/Response.php:78
Symfony\Component\HttpFoundation\Response\HTTP_SWITCHING_PROTOCOLS
const HTTP_SWITCHING_PROTOCOLS
Definition: lib/vendor/symfony/http-foundation/Response.php:22
Symfony\Component\HttpFoundation\Response\HTTP_PRECONDITION_FAILED
const HTTP_PRECONDITION_FAILED
Definition: lib/vendor/symfony/http-foundation/Response.php:55
Symfony\Component\HttpFoundation\Response\setProtocolVersion
setProtocolVersion($version)
Definition: lib/vendor/symfony/http-foundation/Response.php:454
Symfony\Component\HttpFoundation\Response\HTTP_EARLY_HINTS
const HTTP_EARLY_HINTS
Definition: vendor/symfony/http-foundation/Response.php:27
Symfony\Component\HttpFoundation\Response\HTTP_NOT_ACCEPTABLE
const HTTP_NOT_ACCEPTABLE
Definition: lib/vendor/symfony/http-foundation/Response.php:49
Symfony\Component\HttpFoundation\Response\HTTP_LOCKED
const HTTP_LOCKED
Definition: lib/vendor/symfony/http-foundation/Response.php:64
Symfony\Component\HttpFoundation\Response\HTTP_SERVICE_UNAVAILABLE
const HTTP_SERVICE_UNAVAILABLE
Definition: lib/vendor/symfony/http-foundation/Response.php:75
Symfony\Component\HttpFoundation\Response\isInformational
isInformational()
Definition: lib/vendor/symfony/http-foundation/Response.php:1150
Symfony\Component\HttpFoundation\Response\setDate
setDate(\DateTime $date)
Definition: lib/vendor/symfony/http-foundation/Response.php:690
Symfony\Component\HttpFoundation\Response\getLastModified
getLastModified()
Definition: vendor/symfony/http-foundation/Response.php:885
Symfony\Component\HttpFoundation\Response\__clone
__clone()
Definition: vendor/symfony/http-foundation/Response.php:269
Symfony\Component\HttpFoundation\Response\$charset
$charset
Definition: lib/vendor/symfony/http-foundation/Response.php:130
Symfony\Component\HttpFoundation\Response\HTTP_RESERVED_FOR_WEBDAV_ADVANCED_COLLECTIONS_EXPIRED_PROPOSAL
const HTTP_RESERVED_FOR_WEBDAV_ADVANCED_COLLECTIONS_EXPIRED_PROPOSAL
Definition: lib/vendor/symfony/http-foundation/Response.php:66
Symfony\Component\HttpFoundation\Response\ensureIEOverSSLCompatibility
ensureIEOverSSLCompatibility(Request $request)
Definition: lib/vendor/symfony/http-foundation/Response.php:1298
Symfony\Component\HttpFoundation\Response\isInvalid
isInvalid()
Definition: lib/vendor/symfony/http-foundation/Response.php:1138
Symfony\Component\HttpFoundation\Response\setMaxAge
setMaxAge($value)
Definition: lib/vendor/symfony/http-foundation/Response.php:806
Symfony\Component\HttpFoundation\Response\HTTP_CREATED
const HTTP_CREATED
Definition: lib/vendor/symfony/http-foundation/Response.php:25
Symfony\Component\HttpFoundation\Response\$version
$version
Definition: lib/vendor/symfony/http-foundation/Response.php:106
Symfony\Component\HttpFoundation\Response\setLastModified
setLastModified(\DateTime $date=null)
Definition: lib/vendor/symfony/http-foundation/Response.php:912
Symfony\Component\HttpFoundation\Response\isRedirection
isRedirection()
Definition: vendor/symfony/http-foundation/Response.php:1152
Symfony\Component\HttpFoundation\Response\getExpires
getExpires()
Definition: vendor/symfony/http-foundation/Response.php:733
Symfony\Component\HttpFoundation\Response\setSharedMaxAge
setSharedMaxAge(int $value)
Definition: vendor/symfony/http-foundation/Response.php:821
Symfony\Component\HttpFoundation\Response\getAge
getAge()
Definition: vendor/symfony/http-foundation/Response.php:704
Symfony\Component\HttpFoundation\Response\HTTP_NETWORK_AUTHENTICATION_REQUIRED
const HTTP_NETWORK_AUTHENTICATION_REQUIRED
Definition: lib/vendor/symfony/http-foundation/Response.php:82
Symfony\Component\HttpFoundation\Response\getCharset
getCharset()
Definition: vendor/symfony/http-foundation/Response.php:531
Symfony\Component\HttpFoundation\Response\HTTP_UNAUTHORIZED
const HTTP_UNAUTHORIZED
Definition: lib/vendor/symfony/http-foundation/Response.php:44
Symfony\Component\HttpFoundation\Response\getProtocolVersion
getProtocolVersion()
Definition: lib/vendor/symfony/http-foundation/Response.php:468
Symfony\Component\HttpFoundation\Response\getVary
getVary()
Definition: vendor/symfony/http-foundation/Response.php:1048
Symfony\Component\HttpFoundation\Response\HTTP_NO_CONTENT
const HTTP_NO_CONTENT
Definition: lib/vendor/symfony/http-foundation/Response.php:28
Symfony\Component\HttpFoundation\Response\HTTP_BAD_GATEWAY
const HTTP_BAD_GATEWAY
Definition: lib/vendor/symfony/http-foundation/Response.php:74
Symfony\Component\HttpFoundation\Request\get
get($key, $default=null)
Definition: lib/vendor/symfony/http-foundation/Request.php:869
Symfony\Component\HttpFoundation\Request
Definition: lib/vendor/symfony/http-foundation/Request.php:31
Symfony\Component\HttpFoundation\Response\isClientError
isClientError()
Definition: vendor/symfony/http-foundation/Response.php:1162
Symfony\Component\HttpFoundation\Response\setStatusCode
setStatusCode(int $code, $text=null)
Definition: vendor/symfony/http-foundation/Response.php:478
Symfony\Component\HttpFoundation\Response\HTTP_FOUND
const HTTP_FOUND
Definition: lib/vendor/symfony/http-foundation/Response.php:36
Symfony\Component\HttpFoundation\Response\HTTP_LOOP_DETECTED
const HTTP_LOOP_DETECTED
Definition: lib/vendor/symfony/http-foundation/Response.php:80
Symfony\Component\HttpFoundation\Response\HTTP_EXPECTATION_FAILED
const HTTP_EXPECTATION_FAILED
Definition: lib/vendor/symfony/http-foundation/Response.php:60
Symfony\Component\HttpFoundation\Response\HTTP_MISDIRECTED_REQUEST
const HTTP_MISDIRECTED_REQUEST
Definition: lib/vendor/symfony/http-foundation/Response.php:62
Symfony\Component\HttpFoundation\Response\isValidateable
isValidateable()
Definition: lib/vendor/symfony/http-foundation/Response.php:602
Symfony\Component\HttpFoundation\Response\HTTP_UNSUPPORTED_MEDIA_TYPE
const HTTP_UNSUPPORTED_MEDIA_TYPE
Definition: lib/vendor/symfony/http-foundation/Response.php:58
Symfony\Component\HttpFoundation\Response\HTTP_RESERVED
const HTTP_RESERVED
Definition: lib/vendor/symfony/http-foundation/Response.php:40
Symfony\Component\HttpFoundation\Response\HTTP_CONFLICT
const HTTP_CONFLICT
Definition: lib/vendor/symfony/http-foundation/Response.php:52
Symfony\Component\HttpFoundation\Response\HTTP_TEMPORARY_REDIRECT
const HTTP_TEMPORARY_REDIRECT
Definition: lib/vendor/symfony/http-foundation/Response.php:41
Symfony\Component\HttpFoundation\Response\getDate
getDate()
Definition: vendor/symfony/http-foundation/Response.php:675
Symfony\Component\HttpFoundation\Response\setVary
setVary($headers, bool $replace=true)
Definition: vendor/symfony/http-foundation/Response.php:1072
Symfony\Component\HttpFoundation\Response\HTTP_PERMANENTLY_REDIRECT
const HTTP_PERMANENTLY_REDIRECT
Definition: lib/vendor/symfony/http-foundation/Response.php:42
Symfony\Component\HttpFoundation\Response\HTTP_PROCESSING
const HTTP_PROCESSING
Definition: lib/vendor/symfony/http-foundation/Response.php:23
Symfony\Component\HttpFoundation\Response\setExpires
setExpires(\DateTime $date=null)
Definition: lib/vendor/symfony/http-foundation/Response.php:756
Symfony\Component\HttpFoundation\Request\isSecure
isSecure()
Definition: lib/vendor/symfony/http-foundation/Request.php:1296
Symfony\Component\HttpFoundation\Response\isRedirect
isRedirect($location=null)
Definition: lib/vendor/symfony/http-foundation/Response.php:1248
Symfony\Component\HttpFoundation\Response\$content
$content
Definition: lib/vendor/symfony/http-foundation/Response.php:98
Symfony\Component\HttpFoundation\Response\HTTP_METHOD_NOT_ALLOWED
const HTTP_METHOD_NOT_ALLOWED
Definition: lib/vendor/symfony/http-foundation/Response.php:48
Symfony\Component\HttpFoundation\Response\setImmutable
setImmutable(bool $immutable=true)
Definition: vendor/symfony/http-foundation/Response.php:632
Symfony\Component\HttpFoundation\Response\setTtl
setTtl($seconds)
Definition: lib/vendor/symfony/http-foundation/Response.php:862
Symfony\Component\HttpFoundation\Response\$headers
$headers
Definition: lib/vendor/symfony/http-foundation/Response.php:90
Symfony\Component\HttpFoundation\Response\setClientTtl
setClientTtl($seconds)
Definition: lib/vendor/symfony/http-foundation/Response.php:880
Symfony\Component\HttpFoundation\Response\prepare
prepare(Request $request)
Definition: vendor/symfony/http-foundation/Response.php:283
Symfony\Component\HttpFoundation\Response\HTTP_REQUEST_TIMEOUT
const HTTP_REQUEST_TIMEOUT
Definition: lib/vendor/symfony/http-foundation/Response.php:51
Symfony\Component\HttpFoundation\Response\HTTP_PAYMENT_REQUIRED
const HTTP_PAYMENT_REQUIRED
Definition: lib/vendor/symfony/http-foundation/Response.php:45
Symfony\Component\HttpFoundation\Response\getContent
getContent()
Definition: lib/vendor/symfony/http-foundation/Response.php:440
Symfony\Component\HttpFoundation\Response\HTTP_TOO_MANY_REQUESTS
const HTTP_TOO_MANY_REQUESTS
Definition: lib/vendor/symfony/http-foundation/Response.php:69
Symfony\Component\HttpFoundation\Response\setVary
setVary($headers, $replace=true)
Definition: lib/vendor/symfony/http-foundation/Response.php:1084
Symfony\Component\HttpFoundation\Response\isSuccessful
isSuccessful()
Definition: vendor/symfony/http-foundation/Response.php:1142
Symfony\Component\HttpFoundation\Response\HTTP_I_AM_A_TEAPOT
const HTTP_I_AM_A_TEAPOT
Definition: lib/vendor/symfony/http-foundation/Response.php:61
Symfony\Component\HttpFoundation\Response\$statusCode
$statusCode
Definition: lib/vendor/symfony/http-foundation/Response.php:114
Symfony\Component\HttpFoundation\Response\getTtl
getTtl()
Definition: lib/vendor/symfony/http-foundation/Response.php:844
Symfony\Component\HttpFoundation\Response\sendHeaders
sendHeaders()
Definition: vendor/symfony/http-foundation/Response.php:353
Symfony\Component\HttpFoundation\Response\getStatusCode
getStatusCode()
Definition: vendor/symfony/http-foundation/Response.php:507
Symfony\Component\HttpFoundation\Response\setDate
setDate(\DateTimeInterface $date)
Definition: vendor/symfony/http-foundation/Response.php:687
Symfony\Component\HttpFoundation\ResponseHeaderBag
Definition: lib/vendor/symfony/http-foundation/ResponseHeaderBag.php:19
Symfony\Component\HttpFoundation\Response\HTTP_LENGTH_REQUIRED
const HTTP_LENGTH_REQUIRED
Definition: lib/vendor/symfony/http-foundation/Response.php:54
Symfony\Component\HttpFoundation\Response\HTTP_CONTINUE
const HTTP_CONTINUE
Definition: lib/vendor/symfony/http-foundation/Response.php:21
Symfony\Component\HttpFoundation\Response\setCharset
setCharset(string $charset)
Definition: vendor/symfony/http-foundation/Response.php:519
Symfony\Component\HttpFoundation\Response\setEtag
setEtag(string $etag=null, bool $weak=false)
Definition: vendor/symfony/http-foundation/Response.php:937
Symfony\Component\HttpFoundation\Response\hasVary
hasVary()
Definition: vendor/symfony/http-foundation/Response.php:1038
Symfony\Component\HttpFoundation\Response\HTTP_INTERNAL_SERVER_ERROR
const HTTP_INTERNAL_SERVER_ERROR
Definition: lib/vendor/symfony/http-foundation/Response.php:72
Symfony\Component\HttpFoundation\Response\HTTP_PROXY_AUTHENTICATION_REQUIRED
const HTTP_PROXY_AUTHENTICATION_REQUIRED
Definition: lib/vendor/symfony/http-foundation/Response.php:50
Symfony\Component\HttpFoundation\Response\setSharedMaxAge
setSharedMaxAge($value)
Definition: lib/vendor/symfony/http-foundation/Response.php:824
Symfony\Component\HttpFoundation\Response\setProtocolVersion
setProtocolVersion(string $version)
Definition: vendor/symfony/http-foundation/Response.php:449
Symfony\Component\HttpFoundation\Response\HTTP_NON_AUTHORITATIVE_INFORMATION
const HTTP_NON_AUTHORITATIVE_INFORMATION
Definition: lib/vendor/symfony/http-foundation/Response.php:27
Symfony\Component\HttpFoundation\Response\HTTP_NOT_IMPLEMENTED
const HTTP_NOT_IMPLEMENTED
Definition: lib/vendor/symfony/http-foundation/Response.php:73
Symfony\Component\HttpFoundation\Response\HTTP_ACCEPTED
const HTTP_ACCEPTED
Definition: lib/vendor/symfony/http-foundation/Response.php:26
Symfony\Component\HttpFoundation\Response\$statusTexts
static $statusTexts
Definition: lib/vendor/symfony/http-foundation/Response.php:143
Request
Mock implementation of the Request class.
Definition: Request.inc.php:21
Symfony\Component\HttpFoundation\Response\mustRevalidate
mustRevalidate()
Definition: vendor/symfony/http-foundation/Response.php:663
Symfony\Component\HttpFoundation\Response\setNotModified
setNotModified()
Definition: vendor/symfony/http-foundation/Response.php:1020
Symfony\Component\HttpFoundation\Response\isNotModified
isNotModified(Request $request)
Definition: vendor/symfony/http-foundation/Response.php:1090
Symfony\Component\HttpFoundation\Response\isNotFound
isNotFound()
Definition: vendor/symfony/http-foundation/Response.php:1202
Symfony\Component\HttpFoundation\Response\HTTP_MULTIPLE_CHOICES
const HTTP_MULTIPLE_CHOICES
Definition: lib/vendor/symfony/http-foundation/Response.php:34
Symfony\Component\HttpFoundation\Response\HTTP_VERSION_NOT_SUPPORTED
const HTTP_VERSION_NOT_SUPPORTED
Definition: lib/vendor/symfony/http-foundation/Response.php:77
Symfony\Component\HttpFoundation\Response\isRedirect
isRedirect(string $location=null)
Definition: vendor/symfony/http-foundation/Response.php:1212
Symfony\Component\HttpFoundation\Response\HTTP_NOT_MODIFIED
const HTTP_NOT_MODIFIED
Definition: lib/vendor/symfony/http-foundation/Response.php:38
Symfony\Component\HttpFoundation\Response\HTTP_REQUEST_ENTITY_TOO_LARGE
const HTTP_REQUEST_ENTITY_TOO_LARGE
Definition: lib/vendor/symfony/http-foundation/Response.php:56
Symfony\Component\HttpFoundation\Response\setMaxAge
setMaxAge(int $value)
Definition: vendor/symfony/http-foundation/Response.php:805
Symfony\Component\HttpFoundation\Response\setPrivate
setPrivate()
Definition: vendor/symfony/http-foundation/Response.php:600
Symfony\Component\HttpFoundation\Response\setLastModified
setLastModified(\DateTimeInterface $date=null)
Definition: vendor/symfony/http-foundation/Response.php:899
Symfony\Component\HttpFoundation
Definition: lib/vendor/symfony/http-foundation/AcceptHeader.php:12
Symfony\Component\HttpFoundation\Response\HTTP_TOO_EARLY
const HTTP_TOO_EARLY
Definition: vendor/symfony/http-foundation/Response.php:75
Symfony\Component\HttpFoundation\Response\HTTP_PRECONDITION_REQUIRED
const HTTP_PRECONDITION_REQUIRED
Definition: lib/vendor/symfony/http-foundation/Response.php:68
Symfony\Component\HttpFoundation\Response\HTTP_UNPROCESSABLE_ENTITY
const HTTP_UNPROCESSABLE_ENTITY
Definition: lib/vendor/symfony/http-foundation/Response.php:63
Symfony\Component\HttpFoundation\Response\getMaxAge
getMaxAge()
Definition: lib/vendor/symfony/http-foundation/Response.php:780
Symfony\Component\HttpFoundation\Response\HTTP_INSUFFICIENT_STORAGE
const HTTP_INSUFFICIENT_STORAGE
Definition: lib/vendor/symfony/http-foundation/Response.php:79
Symfony\Component\HttpFoundation\Response\HTTP_IM_USED
const HTTP_IM_USED
Definition: lib/vendor/symfony/http-foundation/Response.php:33
Symfony\Component\HttpFoundation\Response\setPublic
setPublic()
Definition: vendor/symfony/http-foundation/Response.php:617
Symfony\Component\HttpFoundation\Response\setEtag
setEtag($etag=null, $weak=false)
Definition: lib/vendor/symfony/http-foundation/Response.php:947
Symfony\Component\HttpFoundation\Response\HTTP_REQUESTED_RANGE_NOT_SATISFIABLE
const HTTP_REQUESTED_RANGE_NOT_SATISFIABLE
Definition: lib/vendor/symfony/http-foundation/Response.php:59
Symfony\Component\HttpFoundation\Response\create
static create($content='', $status=200, $headers=array())
Definition: lib/vendor/symfony/http-foundation/Response.php:243
Symfony\Component\HttpFoundation\Response\getEtag
getEtag()
Definition: vendor/symfony/http-foundation/Response.php:922
Symfony\Component\HttpFoundation\Response\HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE
const HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE
Definition: lib/vendor/symfony/http-foundation/Response.php:70
Symfony\Component\HttpFoundation\Response\HTTP_ALREADY_REPORTED
const HTTP_ALREADY_REPORTED
Definition: lib/vendor/symfony/http-foundation/Response.php:32
Symfony\Component\HttpFoundation\Request\getETags
getETags()
Definition: lib/vendor/symfony/http-foundation/Request.php:1702
Symfony\Component\HttpFoundation\Response\setClientTtl
setClientTtl(int $seconds)
Definition: vendor/symfony/http-foundation/Response.php:871
Symfony\Component\HttpFoundation\Response\sendContent
sendContent()
Definition: vendor/symfony/http-foundation/Response.php:384
Symfony\Component\HttpFoundation\Response\HTTP_NOT_FOUND
const HTTP_NOT_FOUND
Definition: lib/vendor/symfony/http-foundation/Response.php:47
Symfony\Component\HttpFoundation\Response\setCache
setCache(array $options)
Definition: vendor/symfony/http-foundation/Response.php:963
Symfony\Component\HttpFoundation\Response\HTTP_GATEWAY_TIMEOUT
const HTTP_GATEWAY_TIMEOUT
Definition: lib/vendor/symfony/http-foundation/Response.php:76
Symfony\Component\HttpFoundation\Response\isCacheable
isCacheable()
Definition: vendor/symfony/http-foundation/Response.php:553
Symfony\Component\HttpFoundation\Response\setTtl
setTtl(int $seconds)
Definition: vendor/symfony/http-foundation/Response.php:855
Symfony\Component\HttpFoundation\Response\HTTP_UNAVAILABLE_FOR_LEGAL_REASONS
const HTTP_UNAVAILABLE_FOR_LEGAL_REASONS
Definition: lib/vendor/symfony/http-foundation/Response.php:71
Symfony\Component\HttpFoundation\Response\HTTP_UPGRADE_REQUIRED
const HTTP_UPGRADE_REQUIRED
Definition: lib/vendor/symfony/http-foundation/Response.php:67
Symfony\Component\HttpFoundation\Response\HTTP_PARTIAL_CONTENT
const HTTP_PARTIAL_CONTENT
Definition: lib/vendor/symfony/http-foundation/Response.php:30
Symfony\Component\HttpFoundation\Request\getRequestFormat
getRequestFormat($default='html')
Definition: lib/vendor/symfony/http-foundation/Request.php:1518
Symfony\Component\HttpFoundation\Response\send
send()
Definition: vendor/symfony/http-foundation/Response.php:396
Symfony\Component\HttpFoundation\Response\HTTP_BAD_REQUEST
const HTTP_BAD_REQUEST
Definition: lib/vendor/symfony/http-foundation/Response.php:43
Symfony\Component\HttpFoundation\Response\isImmutable
isImmutable()
Definition: vendor/symfony/http-foundation/Response.php:648
Symfony\Component\HttpFoundation\Response\isEmpty
isEmpty()
Definition: lib/vendor/symfony/http-foundation/Response.php:1260
Symfony\Component\HttpFoundation\Response\HTTP_NOT_EXTENDED
const HTTP_NOT_EXTENDED
Definition: lib/vendor/symfony/http-foundation/Response.php:81
Symfony\Component\HttpFoundation\Response\closeOutputBuffers
static closeOutputBuffers($targetLevel, $flush)
Definition: lib/vendor/symfony/http-foundation/Response.php:1275
Symfony\Component\HttpFoundation\Response\HTTP_REQUEST_URI_TOO_LONG
const HTTP_REQUEST_URI_TOO_LONG
Definition: lib/vendor/symfony/http-foundation/Response.php:57
Symfony\Component\HttpFoundation\Response\setStatusCode
setStatusCode($code, $text=null)
Definition: lib/vendor/symfony/http-foundation/Response.php:488
Symfony\Component\HttpFoundation\Response\HTTP_USE_PROXY
const HTTP_USE_PROXY
Definition: lib/vendor/symfony/http-foundation/Response.php:39
Symfony\Component\HttpFoundation\Response\isForbidden
isForbidden()
Definition: vendor/symfony/http-foundation/Response.php:1192
Symfony\Component\HttpFoundation\Response\HTTP_GONE
const HTTP_GONE
Definition: lib/vendor/symfony/http-foundation/Response.php:53
Symfony\Component\HttpFoundation\Response\HTTP_MULTI_STATUS
const HTTP_MULTI_STATUS
Definition: lib/vendor/symfony/http-foundation/Response.php:31
Symfony\Component\HttpFoundation\Response\$statusText
$statusText
Definition: lib/vendor/symfony/http-foundation/Response.php:122
Symfony\Component\HttpFoundation\Response\HTTP_RESET_CONTENT
const HTTP_RESET_CONTENT
Definition: lib/vendor/symfony/http-foundation/Response.php:29
Symfony\Component\HttpFoundation\Response\closeOutputBuffers
static closeOutputBuffers(int $targetLevel, bool $flush)
Definition: vendor/symfony/http-foundation/Response.php:1234
Symfony\Component\HttpFoundation\Request\isMethod
isMethod($method)
Definition: lib/vendor/symfony/http-foundation/Request.php:1598
Symfony\Component\HttpFoundation\Request\isMethodCacheable
isMethodCacheable()
Definition: lib/vendor/symfony/http-foundation/Request.php:1642
Symfony\Component\HttpFoundation\Response\setCharset
setCharset($charset)
Definition: lib/vendor/symfony/http-foundation/Response.php:533
Symfony\Component\HttpFoundation\Response\expire
expire()
Definition: vendor/symfony/http-foundation/Response.php:718
Symfony\Component\HttpFoundation\Request\getMimeType
getMimeType($format)
Definition: lib/vendor/symfony/http-foundation/Request.php:1437
Symfony\Component\HttpFoundation\Response\HTTP_OK
const HTTP_OK
Definition: lib/vendor/symfony/http-foundation/Response.php:24