1 | <?php |
||
19 | final class MustacheLoader implements FixtureLoader |
||
20 | { |
||
21 | |||
22 | const NAME = 'mustache'; |
||
23 | |||
24 | /** |
||
25 | * @var \holyshared\fixture\Loader |
||
26 | */ |
||
27 | private $loader; |
||
28 | |||
29 | /** |
||
30 | * @var \Mustache_Engine |
||
31 | */ |
||
32 | private $mustache; |
||
33 | |||
34 | /** |
||
35 | * Create a new template loader of mustache |
||
36 | * |
||
37 | * @param \holyshared\fixture\Loader |
||
38 | */ |
||
39 | public function __construct(Loader $loader) |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function getName() |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | public function load($path, array $arguments = []) |
||
61 | |||
62 | } |
||
63 |