PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 3.16.2
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v3.16.2
4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 All 340 releases
profile-builder / assets / lib / Mustache / Source.php

Source.php in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor 3.16.2, at assets/lib/Mustache/Source.php

41 lines 1.0 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 Mustache.php.
5 *
6 * (c) 2010-2017 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 /**
13 * Mustache template Source interface.
14 */
15 interface Mustache_Source
16 {
17 /**
18 * Get the Source key (used to generate the compiled class name).
19 *
20 * This must return a distinct key for each template source. For example, an
21 * MD5 hash of the template contents would probably do the trick. The
22 * ProductionFilesystemLoader uses mtime and file path. If your production
23 * source directory is under version control, you could use the current Git
24 * rev and the file path...
25 *
26 * @throws RuntimeException when a source file cannot be read
27 *
28 * @return string
29 */
30 public function getKey();
31
32 /**
33 * Get the template Source.
34 *
35 * @throws RuntimeException when a source file cannot be read
36 *
37 * @return string
38 */
39 public function getSource();
40 }
41