示例#1
0
 /**
  * Check if the template exists.
  * @return boolean
  */
 public function exists()
 {
     return $this->name->doesPathExist();
 }
示例#2
0
 /**
  * Check if a template exists.
  * @param  string  $name
  * @return boolean
  */
 public function exists($name)
 {
     $name = new Name($this, $name);
     return $name->doesPathExist();
 }