class Cache implements ContextualAttribute (View source)

Methods

__construct(UnitEnum|string|null $store = null, bool $memo = false)

Create a new class instance.

static Repository
resolve(Cache $attribute, Container $container)

Resolve the cache store.

Details

__construct(UnitEnum|string|null $store = null, bool $memo = false)

Create a new class instance.

Parameters

UnitEnum|string|null $store
bool $memo

static Repository resolve(Cache $attribute, Container $container)

Resolve the cache store.

Parameters

Cache $attribute
Container $container

Return Value

Repository