master

laravel/framework

Last updated at: 28/12/2023 01:39

provider.stub

TLDR

This file contains a stub for a provider class in a Laravel application. It extends the ServiceProvider class and provides empty register and boot methods.

Classes

{{ class }}

This class extends the ServiceProvider class from the Laravel framework. It is used as a base class for provider classes in a Laravel application. In this stub, the class is left empty and the register and boot methods are defined as empty functions. The register method is used to register any services provided by the provider, while the boot method is used to perform any bootstrapping tasks.

<?php

namespace {{ namespace }};

use Illuminate\Support\ServiceProvider;

class {{ class }} extends ServiceProvider
{
    /**
     * Register services.
     */
    public function register(): void
    {
        //
    }

    /**
     * Bootstrap services.
     */
    public function boot(): void
    {
        //
    }
}