class FilesystemManager implements Factory (View source)

Methods

void
__construct( Application $app)

Create a new filesystem manager instance.

drive( string $name = null)

Get a filesystem instance.

disk( string $name = null)

Get a filesystem instance.

cloud()

Get a default cloud filesystem instance.

createLocalDriver( array $config)

Create an instance of the local driver.

createFtpDriver( array $config)

Create an instance of the ftp driver.

createS3Driver( array $config)

Create an instance of the Amazon S3 driver.

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

at line line 48
void __construct( Application $app)

Create a new filesystem manager instance.

Parameters

Application $app

Return Value

void

at line line 59
Filesystem drive( string $name = null)

Get a filesystem instance.

Parameters

string $name

Return Value

Filesystem

at line line 70
Filesystem disk( string $name = null)

Get a filesystem instance.

Parameters

string $name

Return Value

Filesystem

at line line 82
Filesystem cloud()

Get a default cloud filesystem instance.

Return Value

Filesystem

at line line 148
Filesystem createLocalDriver( array $config)

Create an instance of the local driver.

Parameters

array $config

Return Value

Filesystem

at line line 167
Filesystem createFtpDriver( array $config)

Create an instance of the ftp driver.

Parameters

array $config

Return Value

Filesystem

at line line 184
Cloud createS3Driver( array $config)

Create an instance of the Amazon S3 driver.

Parameters

array $config

Return Value

Cloud

at line line 218
Cloud createRackspaceDriver( array $config)

Create an instance of the Rackspace driver.

Parameters

array $config

Return Value

Cloud

at line line 288
string getDefaultDriver()

Get the default driver name.

Return Value

string

at line line 298
string getDefaultCloudDriver()

Get the default cloud driver name.

Return Value

string

at line line 310
$this extend( string $driver, Closure $callback)

Register a custom driver creator Closure.

Parameters

string $driver
Closure $callback

Return Value

$this

at line line 324
mixed __call( string $method, array $parameters)

Dynamically call the default driver instance.

Parameters

string $method
array $parameters

Return Value

mixed