/** * Sets the template to be used in the view. * * @param $templateName string Name of the template inside the base * template directory without the extension, for example: "Folder\File", * "Folder/Folder/File" or simply "File" * @return string */ public function getViewTemplate($templateName) { return Runner::getViewDir() . "/{$templateName}.php"; }