0f3c770a24
adapter.
31 lines
809 B
YAML
31 lines
809 B
YAML
knp_gaufrette:
|
|
adapters:
|
|
foo_local:
|
|
local:
|
|
directory: %kernel.root_dir%
|
|
create: true
|
|
foo_ftp:
|
|
ftp:
|
|
host: example.com
|
|
username: user
|
|
password: pass
|
|
directory: /example/ftp
|
|
create: true
|
|
mode: FTP_BINARY
|
|
foo_cache:
|
|
cache:
|
|
source: foo_ftp
|
|
cache: foo_local
|
|
ttl: 7200
|
|
|
|
filesystems:
|
|
foo:
|
|
adapter: foo_local
|
|
alias: foo_filesystem
|
|
cache:
|
|
adapter: foo_cache
|
|
alias: cache_filesystem
|
|
ftp:
|
|
adapter: foo_ftp
|
|
alias: ftp_filesystem
|