Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getTimestamp($key)
 {
     if ($this->filesystem->exists($key) === false) {
         return 0;
     }
     return $this->filesystem->lastModified($key);
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function exists($name)
 {
     return $this->filesystem->exists($this->getTemplatePath($name));
 }