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

		$blade->directive('javascripts', function($value){
			return "<?php echo basset_javascripts($value); ?>";
		});

		$blade->directive('stylesheets', function($value){
			return "<?php echo basset_stylesheets($value); ?>";
		});

		$blade->directive('assets', function($value){
			return "<?php echo basset_assets($value); ?>";
		});
	}
protected function registerBladeExtensions() : void {
		$blade = $this->app['view']->getEngineResolver()->resolve('blade')->getCompiler();

		$blade->directive('javascripts', function($value){
			return "<?php echo basset_javascripts($value); ?>";
		});

		$blade->directive('stylesheets', function($value){
			return "<?php echo basset_stylesheets($value); ?>";
		});

		$blade->directive('assets', function($value){
			return "<?php echo basset_assets($value); ?>";
		});
	}
protected function registerBladeExtensions ( ) : void { $ blade = $ this -> app [ 'view' ] -> getEngineResolver ( ) -> resolve ( 'blade' ) -> getCompiler ( ) ; $ blade -> directive ( 'javascripts' , function ( $ value ) { return "<?php echo basset_javascripts($value); ?>" ; } ) ; $ blade -> directive ( 'stylesheets' , function ( $ value ) { return "<?php echo basset_stylesheets($value); ?>" ; } ) ; $ blade -> directive ( 'assets' , function ( $ value ) { return "<?php echo basset_assets($value); ?>" ; } ) ; }
Register the Blade extensions with the compiler.
Register the Blade extensions with the compiler .