src/ServiceProvider.php
public function register()
    {
        // Version specific registering
        if ($this->version() >= 5) {
            $this->registerLaravel5();
        }

        // Bind the pug assets module
        $this->app->singleton('laravel-pug.pug-assets', function () {
            return $this->getPugAssets();
        });

        // Bind the package-configured Pug instance
        $this->app->singleton('laravel-pug.pug', function () {
            return $this->getPugEngine();
        });

        // Bind the Pug compiler
        $this->app->singleton(
            'Bkwld\LaravelPug\PugCompiler',
            $this->getCompilerCreator('\Bkwld\LaravelPug\PugCompiler')
        );

        // Bind the Pug Blade compiler
        $this->app->singleton(
            'Bkwld\LaravelPug\PugBladeCompiler',
            $this->getCompilerCreator('\Bkwld\LaravelPug\PugBladeCompiler')
        );
    }
public function register()
    {
        // Version specific registering
        if ($this->version() >= 5) {
            $this->registerLaravel5();
        }

        // Bind the pug assets module
        $this->app->singleton('laravel-pug.pug-assets', function () {
            return $this->getPugAssets();
        });

        // Bind the package-configured Pug instance
        $this->app->singleton('laravel-pug.pug', function () {
            return $this->getPugEngine();
        });

        // Bind the Pug compiler
        $this->app->singleton(
            'Bkwld\LaravelPug\PugCompiler',
            $this->getCompilerCreator('\Bkwld\LaravelPug\PugCompiler')
        );

        // Bind the Pug Blade compiler
        $this->app->singleton(
            'Bkwld\LaravelPug\PugBladeCompiler',
            $this->getCompilerCreator('\Bkwld\LaravelPug\PugBladeCompiler')
        );
    }
Register the service provider.

@return void