PHP Class Sulu\Component\HttpCache\Handler\UrlHandler

Inheritance: implements Sulu\Component\HttpCache\HandlerInvalidatePathInterface, implements Sulu\Component\HttpCache\HandlerFlushInterface
Show file Open project: sulu/sulu

Public Methods

Method Description
__construct ( FOS\HttpCache\ProxyClient\ProxyClientInterface $proxyClient, Symfony\Component\HttpFoundation\RequestStack $requestStack, Sulu\Component\Webspace\Url\ReplacerInterface $replacer )
flush ( )
invalidatePath ( $path, array $headers = [] )

Method Details

__construct() public method

public __construct ( FOS\HttpCache\ProxyClient\ProxyClientInterface $proxyClient, Symfony\Component\HttpFoundation\RequestStack $requestStack, Sulu\Component\Webspace\Url\ReplacerInterface $replacer )
$proxyClient FOS\HttpCache\ProxyClient\ProxyClientInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack
$replacer Sulu\Component\Webspace\Url\ReplacerInterface

flush() public method

public flush ( )

invalidatePath() public method

public invalidatePath ( $path, array $headers = [] )
$headers array