protected function display($template = null) { if ($template !== null) { $this->templatePath = (string) $template; } }