You are here

public function Ssi::createCacheStrategy in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/HttpCache/Ssi.php \Symfony\Component\HttpKernel\HttpCache\Ssi::createCacheStrategy()

Returns a new cache strategy instance.

Return value

ResponseCacheStrategyInterface A ResponseCacheStrategyInterface instance

Overrides SurrogateInterface::createCacheStrategy

File

vendor/symfony/http-kernel/HttpCache/Ssi.php, line 53

Class

Ssi
Ssi implements the SSI capabilities to Request and Response instances.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function createCacheStrategy() {
  return new ResponseCacheStrategy();
}