编程语言
首页 > 编程语言> > 【Laravel5源码阅读】控制台服务提供者ConsoleSupportServiceProvider

【Laravel5源码阅读】控制台服务提供者ConsoleSupportServiceProvider

作者:互联网

<?php

namespace Illuminate\Foundation\Providers;

use Illuminate\Support\AggregateServiceProvider;

class ConsoleSupportServiceProvider extends AggregateServiceProvider
{
    /**
     * Indicates if loading of the provider is deferred.
     * 指示是否延迟加载提供程序。
     * @var bool
     */
    protected $defer = true;

    /**
     * The provider class names.
     * 提供者类名称。
     * @var array
     */
    protected $providers = [
        'Illuminate\Foundation\Providers\ArtisanServiceProvider',
        'Illuminate\Console\ScheduleServiceProvider',
        'Illuminate\Database\MigrationServiceProvider',
        'Illuminate\Database\SeedServiceProvider',
        'Illuminate\Foundation\Providers\ComposerServiceProvider',
        'Illuminate\Queue\ConsoleServiceProvider',
    ];
}

标签:Laravel5,服务提供者,源码,阅读,ConsoleSupportServiceProvider,控制台
来源: https://blog.csdn.net/qq2942713658/article/details/120110047