ProviderRepository (Foundation)
ProviderRepository
class ProviderRepository (View source)
Methods
void | __construct(Application $app, Filesystem $files, string $manifestPath) Create a new service repository instance. | |
void | load(array $providers) Register the application service providers. | |
ServiceProvider | createProvider(string $provider) Create a new provider instance. | |
bool | shouldRecompile(array $manifest, array $providers) Determine if the manifest should be compiled. | |
array|null | loadManifest() Load the service provider manifest JSON file. | |
array | writeManifest(array $manifest) Write the service manifest file to disk. |
Details
void __construct(Application $app, Filesystem $files, string $manifestPath)
Create a new service repository instance.
void load(array $providers)
Register the application service providers.
ServiceProvider createProvider(string $provider)
Create a new provider instance.
bool shouldRecompile(array $manifest, array $providers)
Determine if the manifest should be compiled.
array|null loadManifest()
Load the service provider manifest JSON file.
array writeManifest(array $manifest)
Write the service manifest file to disk.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Foundation/ProviderRepository.html