private function registerTwigExtensions()
    {
        foreach ($this->app->getSetting('twig_extensions', []) as $extension) {
            $this->twig->addExtension(new $extension($this));
        }
    }
private function registerTwigExtensions()
    {
        foreach ($this->app->getSetting('twig_extensions', []) as $extension) {
            $this->twig->addExtension(new $extension($this));
        }
    }
private function registerTwigExtensions ( ) { foreach ( $ this -> app -> getSetting ( 'twig_extensions' , [ ] ) as $ extension ) { $ this -> twig -> addExtension ( new $ extension ( $ this ) ) ; } }
Register custom twig extensions.
Register custom twig extensions .