class StackTagSet extends TagSet

Any-mode tag set for the stack store.

Delegates tag flushing to every taggable layer. Non-taggable layers above the taggable region are not flushed; their entries expire within their configured layer TTL.

Properties

protected StackStore $store

The cache store implementation.

protected array $names

The tag names.

from  TagSet

Methods

__construct(Store $store, array $names = [])

Create a new StackTagSet instance.

bool
reset()

Reset all tags in the set.

bool
flush()

Flush all the tags in the set.

bool
attemptEach(iterable $items, Closure $operation)

Attempt an operation for every item.

from  TagSet
array
getNames()

Get all of the tag names in the set.

from  TagSet

Details

at line 28
__construct(Store $store, array $names = [])

Create a new StackTagSet instance.

Parameters

Store $store
array $names

at line 36
bool reset()

Reset all tags in the set.

Return Value

bool

at line 44
bool flush()

Flush all the tags in the set.

Return Value

bool

in TagSet at line 51
protected bool attemptEach(iterable $items, Closure $operation)

Attempt an operation for every item.

Parameters

iterable $items
Closure $operation

Return Value

bool

in TagSet at line 78
array getNames()

Get all of the tag names in the set.

Return Value

array