class Flush

Remove all items from the cache (flush the database).

Methods

__construct(StoreContext $context)

Create a new flush operation instance.

bool
execute()

Execute the flush operation.

Details

at line 18
__construct(StoreContext $context)

Create a new flush operation instance.

Parameters

StoreContext $context

at line 28
bool execute()

Execute the flush operation.

Warning: This removes ALL keys from the Redis database, not just cache keys.

Return Value

bool