protected function enableBladeOptimisations()
    {
        $app = $this->app;

        $app->view->getEngineResolver()->register('blade', function () use ($app) {
            $compiler = $app['htmlmin.compiler'];

            return new CompilerEngine($compiler);
        });

        $app->view->addExtension('blade.php', 'blade');
    }
protected function enableBladeOptimisations()
    {
        $app = $this->app;

        $app->view->getEngineResolver()->register('blade', function () use ($app) {
            $compiler = $app['htmlmin.compiler'];

            return new CompilerEngine($compiler);
        });

        $app->view->addExtension('blade.php', 'blade');
    }
protected function enableBladeOptimisations ( ) { $ app = $ this -> app ; $ app -> view -> getEngineResolver ( ) -> register ( 'blade' , function ( ) use ( $ app ) { $ compiler = $ app [ 'htmlmin.compiler' ] ; return new CompilerEngine ( $ compiler ) ; } ) ; $ app -> view -> addExtension ( 'blade.php' , 'blade' ) ; }
Enable blade optimisations.

@return void
Enable blade optimisations .