protected function getDefaultTemplateEngine()
    {
        $smarty = new Smarty();
        $smarty->debugging          = false;
        $smarty->caching            = false;
        $smarty->left_delimiter     = '{|';
        $smarty->right_delimiter    = '|}';
        $smarty->setTemplateDir($this->resourcePath);

        return $smarty;
    }