On this page
DefaultProviders
class DefaultProviders (View source)
Properties
protected array | $providers | The current providers. |
Methods
void | __construct(array|null $providers = null) Create a new default provider collection. |
|
DefaultProviders | merge(array $providers) Merge the given providers into the provider collection. |
|
DefaultProviders | replace(array $replacements) Replace the given providers with other providers. |
|
DefaultProviders | except(array $providers) Disable the given providers. |
|
array | toArray() Convert the provider collection to an array. |
Details
void __construct(array|null $providers = null)
Create a new default provider collection.
DefaultProviders merge(array $providers)
Merge the given providers into the provider collection.
DefaultProviders replace(array $replacements)
Replace the given providers with other providers.
DefaultProviders except(array $providers)
Disable the given providers.
array toArray()
Convert the provider collection to an array.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Support/DefaultProviders.html