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