Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
48f03a4a63 |
|
@ -6,7 +6,7 @@ Adapter which allows you to cache other adapters
|
||||||
|
|
||||||
* `source` The source adapter that must be cached *(required)*
|
* `source` The source adapter that must be cached *(required)*
|
||||||
* `cache` The adapter used to cache the source *(required)*
|
* `cache` The adapter used to cache the source *(required)*
|
||||||
* `ttl` Time to live *(default 0)*
|
* `ttl` Time to live, in seconds *(default 0)*
|
||||||
* `serializer` The adapter used to cache serializations *(default null)*
|
* `serializer` The adapter used to cache serializations *(default null)*
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
@ -35,4 +35,4 @@ knp_gaufrette:
|
||||||
filesystems:
|
filesystems:
|
||||||
media:
|
media:
|
||||||
adapter: media_cache
|
adapter: media_cache
|
||||||
```
|
```
|
||||||
|
|
|
@ -15,15 +15,9 @@
|
||||||
"homepage": "https://github.com/knplabs/KnpGaufretteBundle/contributors"
|
"homepage": "https://github.com/knplabs/KnpGaufretteBundle/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"repositories": [
|
|
||||||
{
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/zyphlar/Gaufrette"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"require": {
|
"require": {
|
||||||
"symfony/framework-bundle": "~2.0|~3.0",
|
"symfony/framework-bundle": "~2.0|~3.0",
|
||||||
"knplabs/gaufrette": "dev-sw"
|
"knplabs/gaufrette": "~0.1.7|~0.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/yaml": "~2.0|~3.0",
|
"symfony/yaml": "~2.0|~3.0",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user