Merge pull request #654

This commit is contained in:
symfony-flex-server[bot]
2019-04-19 11:20:38 +00:00
committed by GitHub
4 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# Read the documentation at https://github.com/thephpleague/flysystem-bundle/blob/master/docs/1-getting-started.md
flysystem:
storages:
default.storage:
adapter: 'local'
options:
directory: '%kernel.project_dir%/%VAR_DIR%/storage/default'

View File

@@ -0,0 +1,9 @@
{
"bundles": {
"League\\FlysystemBundle\\FlysystemBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"var/storage/": "%VAR_DIR%/storage/"
}
}

View File

@@ -0,0 +1,16 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> You just installed league/flysystem-bundle! </>
<bg=blue;fg=white> What's next? </>
<bg=blue;fg=white> </>
* <fg=blue>Use</> the default storage immediately:
public function __construct(FilesystemInterface $defaultStorage)
{
...
}
* <fg=blue>Configure</> your own storages in <comment>config/packages/flysystem.yaml</comment>.
* <fg=blue>Read</> the documentation at:
<comment>https://github.com/thephpleague/flysystem-bundle/blob/master/docs/1-getting-started.md</>

View File