FilesystemManager
class FilesystemManager implements Factory mixin Filesystem mixin FilesystemAdapter (View source)
Properties
protected Application | $app | The application instance. |
|
protected array | $disks | The array of resolved filesystem drivers. |
|
protected array | $customCreators | The registered custom driver creators. |
Methods
Get a filesystem instance.
Get a filesystem instance.
Build an on-demand disk.
Attempt to get the disk from the local cache.
Resolve the given disk.
Call a custom driver creator.
Create an instance of the local driver.
Create an instance of the ftp driver.
Create an instance of the sftp driver.
Create an instance of the Amazon S3 driver.
Format the given S3 configuration with the default options.
Create a scoped driver.
Create a Flysystem instance with the given adapter.
Set the given disk instance.
Get the filesystem connection configuration.
Get the default driver name.
Get the default cloud driver name.
Unset the given disk instances.
Disconnect the given disk and remove from local cache.
Dynamically call the default driver instance.
Details
Filesystem
createLocalDriver(array $config, string $name = 'local')
Create an instance of the local driver.
protected array
formatS3Config(array $config)
Format the given S3 configuration with the default options.
protected FilesystemOperator
createFlysystem(FilesystemAdapter $adapter, array $config)
Create a Flysystem instance with the given adapter.