mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +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}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function set($name, $value)
|
public function set($name, $value, $ttl = 0)
|
||||||
{
|
{
|
||||||
$item = $this->getCacheItem($name);
|
$item = $this->getCacheItem($name);
|
||||||
// Cache templates for twelve hours. Actually we can use arbitrary value
|
// Cache templates for twelve hours. Actually we can use arbitrary value
|
||||||
|
Loading…
Reference in New Issue
Block a user