mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-30 21:10:29 +03:00
Make handlebars cache adapter compatible with the new version of handlebars.php
This commit is contained in:
parent
0fc11b3885
commit
cc55a13151
@ -87,7 +87,7 @@ class CacheAdapter implements HandlebarsCacheInterface, CacheAwareInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function set($name, $value)
|
||||
public function set($name, $value, $ttl = 0)
|
||||
{
|
||||
$item = $this->getCacheItem($name);
|
||||
// Cache templates for twelve hours. Actually we can use arbitrary value
|
||||
|
Loading…
Reference in New Issue
Block a user