public function registerHamlCompiler() {

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

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

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

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

@return void
Register the regular haml compiler