private function getRenderContext()
    {
        $bundled = array_filter(
            $this->app['extensions']->all(),
            function (ResolvedExtension $ext) {
                return $ext->isBundled();
            }
        );

        return [
            'messages'       => $this->app['extend.ping']->getMessages(),
            'enabled'        => $this->app['extend.enabled'],
            'writeable'      => $this->app['extend.writeable'],
            'online'         => $this->app['extend.online'],
            'extensionsPath' => $this->app['path_resolver']->resolve('extensions'),
            'site'           => $this->app['extend.site'],
            'extendVersion'  => Bolt\Version::forComposer(),
            'bundled'        => $bundled,
        ];
    }
private function getRenderContext()
    {
        $bundled = array_filter(
            $this->app['extensions']->all(),
            function (ResolvedExtension $ext) {
                return $ext->isBundled();
            }
        );

        return [
            'messages'       => $this->app['extend.ping']->getMessages(),
            'enabled'        => $this->app['extend.enabled'],
            'writeable'      => $this->app['extend.writeable'],
            'online'         => $this->app['extend.online'],
            'extensionsPath' => $this->app['path_resolver']->resolve('extensions'),
            'site'           => $this->app['extend.site'],
            'extendVersion'  => Bolt\Version::forComposer(),
            'bundled'        => $bundled,
        ];
    }
private function getRenderContext ( ) { $ bundled = array_filter ( $ this -> app [ 'extensions' ] -> all ( ) , function ( ResolvedExtension $ ext ) { return $ ext -> isBundled ( ) ; } ) ; return [ 'messages' => $ this -> app [ 'extend.ping' ] -> getMessages ( ) , 'enabled' => $ this -> app [ 'extend.enabled' ] , 'writeable' => $ this -> app [ 'extend.writeable' ] , 'online' => $ this -> app [ 'extend.online' ] , 'extensionsPath' => $ this -> app [ 'path_resolver' ] -> resolve ( 'extensions' ) , 'site' => $ this -> app [ 'extend.site' ] , 'extendVersion' => Bolt \ Version :: forComposer ( ) , 'bundled' => $ bundled , ] ; }
Get render parameters for Twig.

@return array
Get render parameters for Twig .