src/ServiceProvider.php
public function boot()
    {
        // Version specific booting
        switch ($this->version()) {
            case 4: $this->bootLaravel4(); break;
            case 5: $this->bootLaravel5(); break;
            default: throw new Exception('Unsupported Laravel version.');
        }

        // Register compilers
        $this->registerPugCompiler();
        $this->registerPugBladeCompiler();
    }
public function boot()
    {
        // Version specific booting
        switch ($this->version()) {
            case 4: $this->bootLaravel4(); break;
            case 5: $this->bootLaravel5(); break;
            default: throw new Exception('Unsupported Laravel version.');
        }

        // Register compilers
        $this->registerPugCompiler();
        $this->registerPugBladeCompiler();
    }
Bootstrap the application events.

@return void