class Storage (View source)

Methods

disk(string|null $disk = null)

Mount disk

static FTPService
service(string $service)

Mount service

static void
pushService(array $drivers)

Push a new service who implement the Bow\Storage\Contracts\ServiceInterface

configure(array $config)

Configure Storage

mixed
__call(string $name, array $arguments = [])

__call

static mixed
__callStatic(string $name, array $arguments)

__callStatic

Details

static DiskFilesystemService disk(string|null $disk = null)

Mount disk

Parameters

string|null $disk

Return Value

DiskFilesystemService

Exceptions

DiskNotFoundException

static FTPService service(string $service)

Mount service

Parameters

string $service

Return Value

FTPService

Exceptions

ServiceConfigurationNotFoundException
ServiceNotFoundException

static void pushService(array $drivers)

Push a new service who implement the Bow\Storage\Contracts\ServiceInterface

Parameters

array $drivers

Return Value

void

static FilesystemInterface configure(array $config)

Configure Storage

Parameters

array $config

Return Value

FilesystemInterface

Exceptions

mixed __call(string $name, array $arguments = [])

__call

Parameters

string $name
array $arguments

Return Value

mixed

Exceptions

ErrorException

static mixed __callStatic(string $name, array $arguments)

__callStatic

Parameters

string $name
array $arguments

Return Value

mixed

Exceptions

ErrorException