public function registerHamlBladeCompiler() {

		// Add resolver
		$this->app['view.engine.resolver']->register('haml.blade', function() {
			return new CompilerEngine($this->app['Bkwld\LaravelHaml\HamlBladeCompiler']);
		});

		// Add extensions
		$this->app['view']->addExtension('haml.blade', 'haml.blade');
		$this->app['view']->addExtension('haml.blade.php', 'haml.blade');
	}
public function registerHamlBladeCompiler() {

		// Add resolver
		$this->app['view.engine.resolver']->register('haml.blade', function() {
			return new CompilerEngine($this->app['Bkwld\LaravelHaml\HamlBladeCompiler']);
		});

		// Add extensions
		$this->app['view']->addExtension('haml.blade', 'haml.blade');
		$this->app['view']->addExtension('haml.blade.php', 'haml.blade');
	}
public function registerHamlBladeCompiler ( ) { // Add resolver $ this -> app [ 'view.engine.resolver' ] -> register ( 'haml.blade' , function ( ) { return new CompilerEngine ( $ this -> app [ 'Bkwld\LaravelHaml\HamlBladeCompiler' ] ) ; } ) ; // Add extensions $ this -> app [ 'view' ] -> addExtension ( 'haml.blade' , 'haml.blade' ) ; $ this -> app [ 'view' ] -> addExtension ( 'haml.blade.php' , 'haml.blade' ) ; }
Register the blade compiler compiler

@return void
Register the blade compiler compiler