Documentation

FlushBefore
in package

FinalYes

The FlushBefore attribute.

Annotate your methods with the FlushBefore attribute and the cache will be flushed before the method is executed.

Attributes
#[Attribute]
\Attribute::TARGET_METHOD

Table of Contents

Properties

$key  : string
$store  : string|null

Methods

__construct()  : mixed
Create a new instance.

Properties

Methods

__construct()

Create a new instance.

public __construct(string $key[, string|null $store = null ]) : mixed
Parameters
$key : string

The key of the cache

$store : string|null = null

The cache store name


        
On this page

Search results