@@ -27,21 +27,34 @@ |
||
27 | 27 | $this->parser = $parser; |
28 | 28 | } |
29 | 29 | |
30 | + /** |
|
31 | + * @param string $name |
|
32 | + */ |
|
30 | 33 | public function getCacheKey($name): string |
31 | 34 | { |
32 | 35 | return $this->loader->getCacheKey($name); |
33 | 36 | } |
34 | 37 | |
38 | + /** |
|
39 | + * @param string $name |
|
40 | + * @param integer $time |
|
41 | + */ |
|
35 | 42 | public function isFresh($name, $time): bool |
36 | 43 | { |
37 | 44 | return $this->loader->isFresh($name, $time); |
38 | 45 | } |
39 | 46 | |
47 | + /** |
|
48 | + * @param string $name |
|
49 | + */ |
|
40 | 50 | public function exists($name) |
41 | 51 | { |
42 | 52 | return $this->loader->exists($name); |
43 | 53 | } |
44 | 54 | |
55 | + /** |
|
56 | + * @param string $name |
|
57 | + */ |
|
45 | 58 | public function getSourceContext($name): Source |
46 | 59 | { |
47 | 60 | $source = $this->loader->getSourceContext($name); |