class Storage (View source)

Methods

disk(string|null $disk = null)

Mount disk

service(string $service)

Mount service

static 
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|S3Service service(string $service)

Mount service

Parameters

string $service

Return Value

FTPService|S3Service

Exceptions

ServiceConfigurationNotFoundException
ServiceNotFoundException

static pushService(array $drivers)

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

Parameters

array $drivers

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

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

__callStatic

Parameters

string $name
array $arguments

Return Value

mixed