public final function setPath($path, $html = false) { if ($html) { $this->htmlPath = $path; } else { $this->path = $path; } }