protected function extendBlade() {
        $blade = $this->app['view']->getEngineResolver()->resolve('blade')->getCompiler();

        $blade->extend(function($value) use ($blade)
        {
            return $this->compileBlade($value, $blade);
        });
    }
protected function extendBlade() {
        $blade = $this->app['view']->getEngineResolver()->resolve('blade')->getCompiler();

        $blade->extend(function($value) use ($blade)
        {
            return $this->compileBlade($value, $blade);
        });
    }
protected function extendBlade ( ) { $ blade = $ this -> app [ 'view' ] -> getEngineResolver ( ) -> resolve ( 'blade' ) -> getCompiler ( ) ; $ blade -> extend ( function ( $ value ) use ( $ blade ) { return $ this -> compileBlade ( $ value , $ blade ) ; } ) ; }
Extend Blade Syntax
Extend Blade Syntax