@@ -27,21 +27,33 @@ |
||
| 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 | + */ |
|
| 35 | 41 | public function isFresh($name, $time): bool |
| 36 | 42 | { |
| 37 | 43 | return $this->loader->isFresh($name, $time); |
| 38 | 44 | } |
| 39 | 45 | |
| 46 | + /** |
|
| 47 | + * @param string $name |
|
| 48 | + */ |
|
| 40 | 49 | public function exists($name) |
| 41 | 50 | { |
| 42 | 51 | return $this->loader->exists($name); |
| 43 | 52 | } |
| 44 | 53 | |
| 54 | + /** |
|
| 55 | + * @param string $name |
|
| 56 | + */ |
|
| 45 | 57 | public function getSourceContext($name): Source |
| 46 | 58 | { |
| 47 | 59 | $source = $this->loader->getSourceContext($name); |