@@ -47,19 +47,19 @@ creates a named alias for each of these services.
4747
4848This means you have two way of using the defined storages :
4949
50- * either using autowiring, by typehinting against the `FilesystemInterface ` and using the
50+ * either using autowiring, by typehinting against the `FilesystemOperator ` and using the
5151 variable name matching one of your storages :
5252
5353 ` ` ` php
54- use League\F lysystem\F ilesystemInterface ;
54+ use League\F lysystem\F ilesystemOperator ;
5555
5656 class MyService
5757 {
5858 private $storage;
5959
6060 // The variable name $defaultStorage matters: it needs to be the camelized version
6161 // of the name of your storage.
62- public function __construct(FilesystemInterface $defaultStorage)
62+ public function __construct(FilesystemOperator $defaultStorage)
6363 {
6464 $this->storage = $defaultStorage;
6565 }
@@ -71,13 +71,13 @@ This means you have two way of using the defined storages:
7171 The same goes for controllers :
7272
7373 ` ` ` php
74- use League\F lysystem\F ilesystemInterface ;
74+ use League\F lysystem\F ilesystemOperator ;
7575
7676 class MyController
7777 {
7878 // The variable name $defaultStorage matters: it needs to be the camelized version
7979 // of the name of your storage.
80- public function index(FilesystemInterface $defaultStorage)
80+ public function index(FilesystemOperator $defaultStorage)
8181 {
8282 // ...
8383 }
@@ -87,22 +87,16 @@ This means you have two way of using the defined storages:
8787* or using manual injection, by injecting the service named `default.storage` inside
8888 your services.
8989
90- Once you have a FilesystemInterface , you can call methods from the
91- [Filesystem API](https://flysystem.thephpleague.com/docs/usage/filesystem-api/)
90+ Once you have a FilesystemOperator , you can call methods from the
91+ [Filesystem API](https://flysystem.thephpleague.com/v2/ docs/usage/filesystem-api/)
9292to interact with your storage.
9393
9494# # Full documentation
9595
96- 1. [Getting started](https://github. com/thephpleague/flysystem-bundle/blob/master/ docs/1- getting-started.md )
96+ 1. [Getting started](https://flysystem.thephpleague. com/v2/ docs/getting-started/ )
97972. Cloud storage providers :
98- [Azure](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#azure),
9998 [AsyncAws S3](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#asyncaws-s3),
10099 [AWS S3](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#aws-s3),
101- [DigitalOcean Spaces](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#digitalocean-spaces),
102- [Scaleway Object Storage](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#scaleway-object-storage),
103- [Google Cloud Storage](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#google-cloud-storage),
104- [Rackspace](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#rackspace),
105- [WebDAV](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#webdav)
1061003. [Interacting with FTP and SFTP servers](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/3-interacting-with-ftp-and-sftp-servers.md)
1071014. [Caching metadata in Symfony cache](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/4-caching-metadata-in-symfony-cache.md)
1081025. [Using a lazy adapter to switch storage backend using an environment variable](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/5-using-lazy-adapter-to-switch-at-runtime.md)
0 commit comments