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
Methods
- __construct() : mixed
- Create a new instance.
Properties
$key read-only
public
string
$key
$store
public
string|null
$store
= null
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