class RegisterProviders extends RegisterProviders

Properties

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

The service providers that should be merged before registration.

from  RegisterProviders
static protected string|null $bootstrapProviderPath

The path to the bootstrap provider configuration file.

from  RegisterProviders

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.

static array
mergeAdditionalProvidersForTestbench(array $providers)

Merge additional providers for Testbench.

Details

in RegisterProviders at line 26
void bootstrap(Application $app)

Bootstrap the given application.

Parameters

Application $app

Return Value

void

in RegisterProviders at line 39
protected void mergeAdditionalProviders(Application $app)

Merge the additional configured providers into the configuration.

Parameters

Application $app

Return Value

void

in RegisterProviders 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

in RegisterProviders at line 83
static void flushState()

Flush all static state.

Return Value

void

at line 17
static array mergeAdditionalProvidersForTestbench(array $providers)

Merge additional providers for Testbench.

Parameters

array $providers

Return Value

array