[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/http-kernel/HttpCache/ -> AbstractSurrogate.php (summary)

Abstract class implementing Surrogate capabilities to Request and Response instances.

Author: Fabien Potencier <fabien@symfony.com>
Author: Robin Chalas <robin.chalas@gmail.com>
File Size: 136 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  __construct()
  createCacheStrategy()
  hasSurrogateCapability()
  addSurrogateCapability()
  needsParsing()
  handle()
  removeFromControl()

Functions
Functions that are not part of a class:

__construct(array $contentTypes = ['text/html', 'text/xml', 'application/xhtml+xml', 'application/xml'])   X-Ref

param: array $contentTypes An array of content-type that should be parsed for Surrogate information

createCacheStrategy()   X-Ref
Returns a new cache strategy instance.

return: ResponseCacheStrategyInterface A ResponseCacheStrategyInterface instance

hasSurrogateCapability(Request $request)   X-Ref
{@inheritdoc}


addSurrogateCapability(Request $request)   X-Ref
{@inheritdoc}


needsParsing(Response $response)   X-Ref
{@inheritdoc}


handle(HttpCache $cache, $uri, $alt, $ignoreErrors)   X-Ref
{@inheritdoc}


removeFromControl(Response $response)   X-Ref
Remove the Surrogate from the Surrogate-Control header.




Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1