PHP Class Sulu\Component\HttpCache\Handler\AggregateHandler

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

Public Methods

Method Description
__construct ( Sulu\Component\HttpCache\HandlerInterface[] $handlers = [], Psr\Log\LoggerInterface $logger = null )
flush ( )
invalidatePath ( $path, array $headers = [] )
invalidateStructure ( Sulu\Component\Content\Compat\StructureInterface $structure )
updateResponse ( Response $response, Sulu\Component\Content\Compat\StructureInterface $structure )

Method Details

__construct() public method

public __construct ( Sulu\Component\HttpCache\HandlerInterface[] $handlers = [], Psr\Log\LoggerInterface $logger = null )
$handlers Sulu\Component\HttpCache\HandlerInterface[]
$logger Psr\Log\LoggerInterface

flush() public method

public flush ( )

invalidatePath() public method

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

invalidateStructure() public method

public invalidateStructure ( Sulu\Component\Content\Compat\StructureInterface $structure )
$structure Sulu\Component\Content\Compat\StructureInterface

updateResponse() public method

public updateResponse ( Response $response, Sulu\Component\Content\Compat\StructureInterface $structure )
$response Symfony\Component\HttpFoundation\Response
$structure Sulu\Component\Content\Compat\StructureInterface