class RegisterProviders

Properties

static protected array<int, class-string> $merge

The service providers that should be merged before registration.

static protected string|null $bootstrapProviderPath

The path to the bootstrap provider configuration file.

Methods

void
bootstrap(Application $app)

Bootstrap the given application.

void
mergeAdditionalProviders(Application $app)

Merge the additional configured providers into the configuration.

static void
merge(array $providers, string|null $bootstrapProviderPath = null)

Merge the given providers into the provider configuration before registration.

static void
flushState()

Flush all static state.

Details

at line 26
void bootstrap(Application $app)

Bootstrap the given application.

Parameters

Application $app

Return Value

void

at line 39
protected void mergeAdditionalProviders(Application $app)

Merge the additional configured providers into the configuration.

Parameters

Application $app

Return Value

void

at line 71
static void merge(array $providers, string|null $bootstrapProviderPath = null)

Merge the given providers into the provider configuration before registration.

Boot or tests only. The provider list persists in a static property used during the RegisterProviders bootstrapper; runtime use has no effect on already-registered providers.

Parameters

array $providers
string|null $bootstrapProviderPath

Return Value

void

at line 83
static void flushState()

Flush all static state.

Return Value

void