Doctrine\Common\Cache\CacheProvider::doSave
Puts data into the cache.
Signature
protected function doSave(string
$id,
[string
$data = false,
[bool|int
$lifeTime = false]] )
Parameters
$id
— string- The cache id.
$data
— string- The cache entry/data.
$lifeTime
— object- The lifetime. If != false, sets a specific lifetime for this
cache entry (null => infinite lifeTime).
Returns
- boolean
- TRUE if the entry was successfully stored in the cache, FALSE otherwise.