RegisterProviders
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
Merge the additional configured providers into the configuration.
Merge the given providers into the provider configuration before registration.
Merge additional providers for Testbench.
Details
in
RegisterProviders at line 26
void
bootstrap(Application $app)
Bootstrap the given application.
in
RegisterProviders at line 39
protected void
mergeAdditionalProviders(Application $app)
Merge the additional configured providers into the configuration.
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.
in
RegisterProviders at line 83
static void
flushState()
Flush all static state.
at line 17
static array
mergeAdditionalProvidersForTestbench(array $providers)
Merge additional providers for Testbench.