本文主要是介绍【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的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!