class Storage implements ContextualAttribute (View source)

Methods

__construct(string|null $disk = null)

Create a new class instance.

static Filesystem
resolve(Storage $attribute, Container $container)

Resolve the storage disk.

Details

__construct(string|null $disk = null)

Create a new class instance.

Parameters

string|null $disk

static Filesystem resolve(Storage $attribute, Container $container)

Resolve the storage disk.

Parameters

Storage $attribute
Container $container

Return Value

Filesystem

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.