W3cubDocs

/Laravel 11

RegisterProviders

class RegisterProviders (View source)

Properties

static protected array $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.

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 the bootstrapper's global state.

Details

void bootstrap(Application $app)

Bootstrap the given application.

Parameters

Application $app

Return Value

void

protected mergeAdditionalProviders(Application $app)

Merge the additional configured providers into the configuration.

Parameters

Application $app

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

Merge the given providers into the provider configuration before registration.

Parameters

array $providers
string|null $bootstrapProviderPath

Return Value

void

static void flushState()

Flush the bootstrapper's global state.

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Foundation/Bootstrap/RegisterProviders.html