public function add_views_dir($directory) { Services::get('TemplateEngine')->add_dir(realpath($directory)); }