class ServiceProvider extends ServiceProvider

Properties

protected bool $defer 是否延时加载提供器。

Methods

void
register()

在容器中注册绑定。

void
boot()

在注册后进行服务的启动。

string
getConfigPath()

Get the config path.

array
provides()

获取提供器提供的服务。

Details

at line 21
void register()

在容器中注册绑定。

Return Value

void

at line 57
void boot()

在注册后进行服务的启动。

Return Value

void

at line 90
protected string getConfigPath()

Get the config path.

Return Value

string

at line 100
array provides()

获取提供器提供的服务。

Return Value

array