1 | <?php |
||
19 | class MoufTwigEnvironment extends \Twig_Environment implements CacheInterface |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * Registers an array of extensions. |
||
24 | * Note: the sole purpose of this function is to overload the @param annotation. |
||
25 | * |
||
26 | * @param Twig_ExtensionInterface[] $extensions An array of extensions |
||
27 | */ |
||
28 | public function setExtensions(array $extensions) |
||
32 | |||
33 | /** |
||
34 | * The get method of the cache is not implemented. The CacheInterface is implemented only to be able to |
||
35 | * delete cache files when the "Purge cache" button is pressed in Mouf UI. |
||
36 | * (non-PHPdoc) |
||
37 | * @see \Mouf\Utils\Cache\CacheInterface::get() |
||
38 | */ |
||
39 | public function get($key) |
||
43 | |||
44 | /** |
||
45 | * The set method of the cache is not implemented. The CacheInterface is implemented only to be able to |
||
46 | * delete cache files when the "Purge cache" button is pressed in Mouf UI. |
||
47 | * (non-PHPdoc) |
||
48 | * @see \Mouf\Utils\Cache\CacheInterface::set() |
||
49 | */ |
||
50 | public function set($key, $value, $timeToLive = null) |
||
54 | |||
55 | /** |
||
56 | * The purge method of the cache is not implemented. The CacheInterface is implemented only to be able to |
||
57 | * delete cache files when the "Purge cache" button is pressed in Mouf UI. |
||
58 | * (non-PHPdoc) |
||
59 | * @see \Mouf\Utils\Cache\CacheInterface::purge() |
||
60 | */ |
||
61 | public function purge($key) |
||
65 | |||
66 | /** |
||
67 | * (non-PHPdoc) |
||
68 | * @see \Mouf\Utils\Cache\CacheInterface::purgeAll() |
||
69 | */ |
||
70 | public function purgeAll() |
||
83 | |||
84 | } |
||
85 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.