Lines Matching refs:name
50 public function getSourceContext($name) argument
54 if (!$loader->exists($name)) {
59 return $loader->getSourceContext($name);
65 …throw new LoaderError(sprintf('Template "%s" is not defined%s.', $name, $exceptions ? ' ('.implode…
68 public function exists($name) argument
70 if (isset($this->hasSourceCache[$name])) {
71 return $this->hasSourceCache[$name];
75 if ($loader->exists($name)) {
76 return $this->hasSourceCache[$name] = true;
80 return $this->hasSourceCache[$name] = false;
83 public function getCacheKey($name) argument
87 if (!$loader->exists($name)) {
92 return $loader->getCacheKey($name);
98 …throw new LoaderError(sprintf('Template "%s" is not defined%s.', $name, $exceptions ? ' ('.implode…
101 public function isFresh($name, $time) argument
105 if (!$loader->exists($name)) {
110 return $loader->isFresh($name, $time);
116 …throw new LoaderError(sprintf('Template "%s" is not defined%s.', $name, $exceptions ? ' ('.implode…