Mention ttl units in docs

As far as I can tell, `ttl` is directly subtracted from time() in Gaufrette, which means it's in seconds. Good idea to document.
This commit is contained in:
zyphlar 2017-03-10 03:10:49 -08:00 committed by GitHub
parent 0d52e63fe4
commit 48f03a4a63

View File

@ -6,7 +6,7 @@ Adapter which allows you to cache other adapters
* `source` The source adapter that must be cached *(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)*
## Example
@ -35,4 +35,4 @@ knp_gaufrette:
filesystems:
media:
adapter: media_cache
```
```