class ServiceProvider extends ServiceProvider

Properties

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

Methods

connection(string $app)

No description

void
register()

在容器中注册绑定。

void
boot()

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

string
getConfigPath()

Get the config path.

array
provides()

获取提供器提供的服务。

Details

at line 18
protected connection(string $app)

Parameters

string $app

at line 34
void register()

在容器中注册绑定。

Return Value

void

at line 56
void boot()

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

Return Value

void

at line 83
protected string getConfigPath()

Get the config path.

Return Value

string

at line 93
array provides()

获取提供器提供的服务。

Return Value

array