master

laravel/framework

Last updated at: 29/12/2023 09:23

ConsoleSupportServiceProvider.php

TLDR

This file contains the ConsoleSupportServiceProvider class, which extends the AggregateServiceProvider class and implements the DeferrableProvider interface. It sets the provider class names for the Artisan, Migration, and Composer services.

Classes

ConsoleSupportServiceProvider

The ConsoleSupportServiceProvider class extends the AggregateServiceProvider class and implements the DeferrableProvider interface. It sets the provider class names for the Artisan, Migration, and Composer services.

<?php

namespace Illuminate\Foundation\Providers;

use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Database\MigrationServiceProvider;
use Illuminate\Support\AggregateServiceProvider;

class ConsoleSupportServiceProvider extends AggregateServiceProvider implements DeferrableProvider
{
    /**
     * The provider class names.
     *
     * @var string[]
     */
    protected $providers = [
        ArtisanServiceProvider::class,
        MigrationServiceProvider::class,
        ComposerServiceProvider::class,
    ];
}