Ouzo\View\TwigRenderer::initialize PHP Method

initialize() private method

private initialize ( Twig_Environment $environment )
$environment Twig_Environment
    private function initialize(Twig_Environment $environment)
    {
        $initializerClass = Config::getValue('twig', 'initializer');
        if ($initializerClass) {
            $initializer = new $initializerClass();
            $initializer->initialize($environment);
        }
    }