public function registerPugCompiler($subExtension = '')
    {
        // Add resolver
        $this->getEngineResolver()->register('pug' . $subExtension, function () use ($subExtension) {
            return new CompilerEngine($this->app['Bkwld\LaravelPug\Pug' . ucfirst(ltrim($subExtension, '.')) . 'Compiler']);
        });

        // Add extensions
        $this->app['view']->addExtension('pug' . $subExtension, 'pug' . $subExtension);
        $this->app['view']->addExtension('pug' . $subExtension . '.php', 'pug' . $subExtension);
        $this->app['view']->addExtension('jade' . $subExtension, 'pug' . $subExtension);
        $this->app['view']->addExtension('jade' . $subExtension . '.php', 'pug' . $subExtension);
    }
public function registerPugCompiler($subExtension = '')
    {
        // Add resolver
        $this->getEngineResolver()->register('pug' . $subExtension, function () use ($subExtension) {
            return new CompilerEngine($this->app['Bkwld\LaravelPug\Pug' . ucfirst(ltrim($subExtension, '.')) . 'Compiler']);
        });

        // Add extensions
        $this->app['view']->addExtension('pug' . $subExtension, 'pug' . $subExtension);
        $this->app['view']->addExtension('pug' . $subExtension . '.php', 'pug' . $subExtension);
        $this->app['view']->addExtension('jade' . $subExtension, 'pug' . $subExtension);
        $this->app['view']->addExtension('jade' . $subExtension . '.php', 'pug' . $subExtension);
    }
public function registerPugCompiler ( $ subExtension = '' ) { // Add resolver $ this -> getEngineResolver ( ) -> register ( 'pug' . $ subExtension , function ( ) use ( $ subExtension ) { return new CompilerEngine ( $ this -> app [ 'Bkwld\LaravelPug\Pug' . ucfirst ( ltrim ( $ subExtension , '.' ) ) . 'Compiler' ] ) ; } ) ; // Add extensions $ this -> app [ 'view' ] -> addExtension ( 'pug' . $ subExtension , 'pug' . $ subExtension ) ; $ this -> app [ 'view' ] -> addExtension ( 'pug' . $ subExtension . '.php' , 'pug' . $ subExtension ) ; $ this -> app [ 'view' ] -> addExtension ( 'jade' . $ subExtension , 'pug' . $ subExtension ) ; $ this -> app [ 'view' ] -> addExtension ( 'jade' . $ subExtension . '.php' , 'pug' . $ subExtension ) ; }
Register the regular Pug compiler.

@return void
Register the regular Pug compiler .