class Cache implements ContextualAttribute (View source)

Methods

__construct(string|null $store = null)

Create a new class instance.

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

Resolve the cache store.

Details

__construct(string|null $store = null)

Create a new class instance.

Parameters

string|null $store

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

Resolve the cache store.

Parameters

Cache $attribute
Container $container

Return Value

Repository

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.