$adapter
$adapter : \League\Flysystem\AdapterInterface
$adapter : \League\Flysystem\AdapterInterface
$cache : \League\Flysystem\Cached\CacheInterface
__construct(\League\Flysystem\AdapterInterface $adapter, \League\Flysystem\Cached\CacheInterface $cache)
Constructor.
| \League\Flysystem\AdapterInterface | $adapter | |
| \League\Flysystem\Cached\CacheInterface | $cache |
getAdapter() : \League\Flysystem\AdapterInterface
Get the underlying Adapter implementation.
getCache() : \League\Flysystem\Cached\CacheInterface
Get the used Cache implementation.
write(string $path, string $contents, \League\Flysystem\Config $config) : array|false
Write a new file.
| string | $path | |
| string | $contents | |
| \League\Flysystem\Config | $config | Config object |
false on failure file meta data on success
writeStream(string $path, resource $resource, \League\Flysystem\Config $config) : array|false
Write a new file using a stream.
| string | $path | |
| resource | $resource | |
| \League\Flysystem\Config | $config | Config object |
false on failure file meta data on success
update(string $path, string $contents, \League\Flysystem\Config $config) : array|false
Update a file.
| string | $path | |
| string | $contents | |
| \League\Flysystem\Config | $config | Config object |
false on failure file meta data on success
updateStream(string $path, resource $resource, \League\Flysystem\Config $config) : array|false
Update a file using a stream.
| string | $path | |
| resource | $resource | |
| \League\Flysystem\Config | $config | Config object |
false on failure file meta data on success
createDir(string $dirname, \League\Flysystem\Config $config) : array|false
Create a directory.
| string | $dirname | directory name |
| \League\Flysystem\Config | $config |