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