PHP Interface Sulu\Component\HttpCache\HandlerInvalidatePathInterface

Note that this is called during the request therefore the task of this interfaces method should normally be to record paths which should later be invalidated in the flush interface.
Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
invalidatePath ( string $path, array $headers = [] ) Invalidate a path or URL.

Method Details

invalidatePath() public method

Invalidate a path or URL.
public invalidatePath ( string $path, array $headers = [] )
$path string Path or URL
$headers array HTTP headers (optional)