FilesystemManager

FilesystemManager

class FilesystemManager implements Factory (View source)

Methods

void __construct(Application $app)

Create a new filesystem manager instance.

Filesystem drive(string $name = null)

Get a filesystem instance.

Filesystem disk(string $name = null)

Get a filesystem instance.

Filesystem cloud()

Get a default cloud filesystem instance.

Filesystem createLocalDriver(array $config)

Create an instance of the local driver.

Filesystem createFtpDriver(array $config)

Create an instance of the ftp driver.

Cloud createS3Driver(array $config)

Create an instance of the Amazon S3 driver.

Cloud createRackspaceDriver(array $config)

Create an instance of the Rackspace driver.

string getDefaultDriver()

Get the default driver name.

string getDefaultCloudDriver()

Get the default cloud driver name.

$this extend(string $driver, Closure $callback)

Register a custom driver creator Closure.

mixed __call(string $method, array $parameters)

Dynamically call the default driver instance.

Details

void __construct(Application $app)

Create a new filesystem manager instance.

Parameters

Application $app

Return Value

void

Filesystem drive(string $name = null)

Get a filesystem instance.

Parameters

string $name

Return Value

Filesystem

Filesystem disk(string $name = null)

Get a filesystem instance.

Parameters

string $name

Return Value

Filesystem

Filesystem cloud()

Get a default cloud filesystem instance.

Return Value

Filesystem

Filesystem createLocalDriver(array $config)

Create an instance of the local driver.

Parameters

array $config

Return Value

Filesystem

Filesystem createFtpDriver(array $config)

Create an instance of the ftp driver.

Parameters

array $config

Return Value

Filesystem

Cloud createS3Driver(array $config)

Create an instance of the Amazon S3 driver.

Parameters

array $config

Return Value

Cloud

Cloud createRackspaceDriver(array $config)

Create an instance of the Rackspace driver.

Parameters

array $config

Return Value

Cloud

string getDefaultDriver()

Get the default driver name.

Return Value

string

string getDefaultCloudDriver()

Get the default cloud driver name.

Return Value

string

$this extend(string $driver, Closure $callback)

Register a custom driver creator Closure.

Parameters

string $driver
Closure $callback

Return Value

$this

mixed __call(string $method, array $parameters)

Dynamically call the default driver instance.

Parameters

string $method
array $parameters

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Filesystem/FilesystemManager.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部