trait CacheTrait

An implementation of CacheInterface for PSR-6 CacheItemPoolInterface classes.

Methods

get(string $key, callable $callback, float $beta = null, array $metadata = null)

{@inheritdoc}

bool
delete(string $key)

{@inheritdoc}

Details

at line 27
get(string $key, callable $callback, float $beta = null, array $metadata = null)

{@inheritdoc}

Parameters

string $key
callable $callback
float $beta
array $metadata

at line 35
bool delete(string $key)

{@inheritdoc}

Parameters

string $key

Return Value

bool