Box\Brainy\Tests\Smarty_TestCase::setUpInstance PHP Method

setUpInstance() protected method

protected setUpInstance ( $smarty )
    protected function setUpInstance($smarty)
    {
        $smarty->setTemplateDir(realpath('test' . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR));
        $smarty->setCompileDir(realpath('test' . DIRECTORY_SEPARATOR . 'compiled' . DIRECTORY_SEPARATOR));
        $smarty->setPluginsDir(BRAINY_PLUGINS_DIR);
        $smarty->tpl_vars = array();
        $smarty->force_compile = false;
        $smarty->auto_literal = true;
        $smarty->registered_plugins = array();
        $smarty->default_modifiers = array();
        $smarty->escape_html = false;
        $smarty->use_sub_dirs = false;
        $smarty->security_policy = null;
        $smarty->left_delimiter = '{';
        $smarty->right_delimiter = '}';
        $smarty->enableSecurity();
        $smarty->compile_id = null;
        $smarty->safe_lookups = \Box\Brainy\Brainy::LOOKUP_UNSAFE;
    }