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