class
Illuminate
/
Support
/
DefaultProviders
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
DefaultProviders
Properties
protected
$providers array
The current providers.
Default: null
Methods
public
__construct ( array $providers ) : void
Create a new default provider collection.
public
merge ( array $providers ) : static
Merge the given providers into the provider collection.
Parameters
- $providers array
public
replace ( array $replacements ) : static
Replace the given providers with other providers.
Parameters
- $items array
public
except ( array $providers ) : static
Disable the given providers.
Parameters
- $providers array
public
toArray ( ) : array
Convert the provider collection to an array.