class Storage (View source)

Methods

static FTPService
service(string $service)

Mount service

configure(array $config)

Configure Storage

local(string|null $disk = null)

Mount disk

disk(string|null $disk = null) deprecated

Mount disk

static void
pushService(array $drivers)

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

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

__callStatic

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

__call

Details

static FTPService service(string $service)

Mount service

Parameters

string $service

Return Value

FTPService

Exceptions

ServiceConfigurationNotFoundException
ServiceNotFoundException

static FilesystemInterface configure(array $config)

Configure Storage

Parameters

array $config

Return Value

FilesystemInterface

Exceptions

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

Mount disk

Parameters

string|null $disk

Return Value

DiskFilesystemService

Exceptions

DiskNotFoundException

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

deprecated version

Mount disk

Parameters

string|null $disk

Return Value

DiskFilesystemService

static void pushService(array $drivers)

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

Parameters

array $drivers

Return Value

void

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

__callStatic

Parameters

string $name
array $arguments

Return Value

mixed

Exceptions

ErrorException

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

__call

Parameters

string $name
array $arguments

Return Value

mixed

Exceptions

ErrorException