ContractsTrait
trait ContractsTrait
Traits
An implementation of CacheInterface for PSR-6 CacheItemPoolInterface classes.
Methods
get(string $key, callable $callback, float $beta = null, array $metadata = null)
{@inheritdoc}
from CacheTrait
callable
setCallbackWrapper(callable|null $callbackWrapper)
Wraps the callback passed to ->get() in a callable.