class Touch

Adjust the expiration time of a cached item.

Methods

__construct(StoreContext $context)

Create a new touch operation instance.

bool
execute(string $key, int $seconds)

Execute the touch (expire) operation.

Details

at line 18
__construct(StoreContext $context)

Create a new touch operation instance.

Parameters

StoreContext $context

at line 26
bool execute(string $key, int $seconds)

Execute the touch (expire) operation.

Parameters

string $key
int $seconds

Return Value

bool