PluginProbe
Elementor Website Builder – more than just a page builder / 3.28.0-dev2
Elementor Website Builder – more than just a page builder v3.28.0-dev2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / vendor_prefixed / twig / src / Loader / LoaderInterface.php

LoaderInterface.php in Elementor Website Builder – more than just a page builder 3.28.0-dev2, at vendor_prefixed/twig/src/Loader/LoaderInterface.php

45 lines 1.1 KB
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 Twig.
5 *
6 * (c) Fabien Potencier
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11 namespace ElementorDeps\Twig\Loader;
12
13 use ElementorDeps\Twig\Error\LoaderError;
14 use ElementorDeps\Twig\Source;
15 /**
16 * Interface all loaders must implement.
17 *
18 * @author Fabien Potencier <fabien@symfony.com>
19 */
20 interface LoaderInterface
21 {
22 /**
23 * Returns the source context for a given template logical name.
24 *
25 * @throws LoaderError When $name is not found
26 */
27 public function getSourceContext(string $name) : Source;
28 /**
29 * Gets the cache key to use for the cache for a given template name.
30 *
31 * @throws LoaderError When $name is not found
32 */
33 public function getCacheKey(string $name) : string;
34 /**
35 * @param int $time Timestamp of the last modification time of the cached template
36 *
37 * @throws LoaderError When $name is not found
38 */
39 public function isFresh(string $name, int $time) : bool;
40 /**
41 * @return bool
42 */
43 public function exists(string $name);
44 }
45