class FilesystemManager implements Factory (View source)
protected Application | $app | The application instance. | |
protected array | $disks | The array of resolved filesystem drivers. | |
protected array | $customCreators | The registered custom driver creators. |
void | __construct(Application $app) Create a new filesystem manager instance. | |
Filesystem | drive(string|null $name = null) Get a filesystem instance. | |
Filesystem | disk(string|null $name = null) Get a filesystem instance. | |
Filesystem | cloud() Get a default cloud filesystem instance. | |
Filesystem | get(string $name) Attempt to get the disk from the local cache. | |
Filesystem | resolve(string $name) Resolve the given disk. | |
Filesystem | callCustomCreator(array $config) Call a custom driver creator. | |
Filesystem | createLocalDriver(array $config) Create an instance of the local driver. | |
Filesystem | createFtpDriver(array $config) Create an instance of the ftp driver. | |
Filesystem | createSftpDriver(array $config) Create an instance of the sftp driver. | |
Cloud | createS3Driver(array $config) Create an instance of the Amazon S3 driver. | |
array | formatS3Config(array $config) Format the given S3 configuration with the default options. | |
Cloud | createRackspaceDriver(array $config) Create an instance of the Rackspace driver. | |
Container | getRackspaceContainer(Rackspace $client, array $config) Get the Rackspace Cloud Files container. | |
FilesystemInterface | createFlysystem(AdapterInterface $adapter, array $config) Create a Flysystem instance with the given adapter. | |
CacheInterface | createCacheStore(mixed $config) Create a cache store instance. | |
Filesystem | adapt(FilesystemInterface $filesystem) Adapt the filesystem implementation. | |
$this | set(string $name, mixed $disk) Set the given disk instance. | |
array | getConfig(string $name) Get the filesystem connection configuration. | |
string | getDefaultDriver() Get the default driver name. | |
string | getDefaultCloudDriver() Get the default cloud driver name. | |
$this | forgetDisk(array|string $disk) Unset the given disk instances. | |
$this | extend(string $driver, Closure $callback) Register a custom driver creator Closure. | |
mixed | __call(string $method, array $parameters) Dynamically call the default driver instance. |
Create a new filesystem manager instance.
Get a filesystem instance.
Get a filesystem instance.
Get a default cloud filesystem instance.
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 an instance of the Rackspace driver.
Get the Rackspace Cloud Files container.
Create a Flysystem instance with the given adapter.
Create a cache store instance.
Adapt the filesystem implementation.
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.
Register a custom driver creator Closure.
Dynamically call the default driver instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Filesystem/FilesystemManager.html