PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.25
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.25
1.10.25 1.10.24 1.10.23 1.10.22 1.10.21 1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 All 169 releases
woocommerce-pos / vendor / mustache / mustache / src / Cache.php

Cache.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.10.25, at vendor/mustache/mustache/src/Cache.php

47 lines 916 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 * This file is part of Mustache.php.
5 *
6 * (c) 2010-2026 Justin Hileman
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Mustache;
13
14 use Psr\Log\LoggerInterface;
15
16 /**
17 * Mustache Cache interface.
18 *
19 * Interface for caching and loading Template classes generated by the Compiler.
20 */
21 interface Cache
22 {
23 /**
24 * Load a compiled Template class from cache.
25 *
26 * @param string $key
27 *
28 * @return bool indicates successfully class load
29 */
30 public function load($key);
31
32 /**
33 * Cache and load a compiled Template class.
34 *
35 * @param string $key
36 * @param string $value
37 */
38 public function cache($key, $value);
39
40 /**
41 * Set a logger instance.
42 *
43 * @param Logger|LoggerInterface $logger
44 */
45 public function setLogger($logger = null);
46 }
47