Add info about cache adapter to README. Added tests for cache and ftp
adapter.
This commit is contained in:
@@ -1,11 +1,30 @@
|
||||
knp_gaufrette:
|
||||
adapters:
|
||||
foo:
|
||||
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
|
||||
adapter: foo_local
|
||||
alias: foo_filesystem
|
||||
cache:
|
||||
adapter: foo_cache
|
||||
alias: cache_filesystem
|
||||
ftp:
|
||||
adapter: foo_ftp
|
||||
alias: ftp_filesystem
|
||||
|
||||
Reference in New Issue
Block a user