class AnyTagOperations

Methods

__construct(StoreContext $context, Serialization $serialization)

Create a new any-tag operations instance.

Put
put()

Get the Put operation for storing items with tags.

putMany()

Get the PutMany operation for storing multiple items with tags.

Add
add()

Get the Add operation for storing items if they don't exist.

forever()

Get the Forever operation for storing items indefinitely with tags.

touch()

Get the Touch operation for adjusting item expiration and tag metadata.

forget()

Get the Forget operation for deleting items and tag metadata.

increment()

Get the Increment operation for incrementing values with tags.

decrement()

Get the Decrement operation for decrementing values with tags.

getTaggedKeys()

Get the GetTaggedKeys operation for retrieving keys associated with a tag.

getTagItems()

Get the GetTagItems operation for retrieving key-value pairs for tags.

flush()

Get the Flush operation for removing all items with specified tags.

prune()

Get the Prune operation for removing orphaned fields from tag hashes.

Details

at line 54
__construct(StoreContext $context, Serialization $serialization)

Create a new any-tag operations instance.

Parameters

StoreContext $context
Serialization $serialization

at line 63
Put put()

Get the Put operation for storing items with tags.

Return Value

Put

at line 71
PutMany putMany()

Get the PutMany operation for storing multiple items with tags.

Return Value

PutMany

at line 79
Add add()

Get the Add operation for storing items if they don't exist.

Return Value

Add

at line 87
Forever forever()

Get the Forever operation for storing items indefinitely with tags.

Return Value

Forever

at line 95
Touch touch()

Get the Touch operation for adjusting item expiration and tag metadata.

Return Value

Touch

at line 103
Forget forget()

Get the Forget operation for deleting items and tag metadata.

Return Value

Forget

at line 111
Increment increment()

Get the Increment operation for incrementing values with tags.

Return Value

Increment

at line 119
Decrement decrement()

Get the Decrement operation for decrementing values with tags.

Return Value

Decrement

at line 127
GetTaggedKeys getTaggedKeys()

Get the GetTaggedKeys operation for retrieving keys associated with a tag.

Return Value

GetTaggedKeys

at line 135
GetTagItems getTagItems()

Get the GetTagItems operation for retrieving key-value pairs for tags.

Return Value

GetTagItems

at line 147
Flush flush()

Get the Flush operation for removing all items with specified tags.

Return Value

Flush

at line 158
Prune prune()

Get the Prune operation for removing orphaned fields from tag hashes.

This removes expired tags from the registry, scans active tag hashes for fields referencing deleted cache keys, and deletes empty hashes.

Return Value

Prune