Newscoop\Tools\Console\Command\EventsNotifierCommand::initSmarty PHP Метод

initSmarty() приватный Метод

private initSmarty ( ) : object
Результат object $tpl Smarty object
    private function initSmarty()
    {
        $tpl = new \Smarty();
        // inits smarty configuration settings
        $tpl->left_delimiter = '{{';
        $tpl->right_delimiter = '}}';
        $tpl->force_compile = true;
        $tpl->config_dir = APPLICATION_PATH . '/../include/smarty/configs';
        $tpl->template_dir = APPLICATION_PATH . '/../themes/system_templates';
        $tpl->compile_dir = APPLICATION_PATH . '/../cache';
        $tpl->auto_literal = false;
        return $tpl;
    }