ProviderRepository
class ProviderRepository
Properties
| protected Application | $app | The application implementation. |
|
| protected Filesystem | $files | The filesystem instance. |
|
| protected string | $manifestPath | The path to the manifest file. |
Methods
Create a new service repository instance.
Register the application service providers.
Load the service provider manifest JSON file.
Determine if the manifest should be compiled.
Register the load events for the given provider.
Compile the application service manifest file.
Create a fresh service manifest data structure.
Write the service manifest file to disk.
Create a new provider instance.
Details
at line 40
void
__construct(Application $app, Filesystem $files, string $manifestPath)
Create a new service repository instance.
at line 53
void
load(array $providers)
Register the application service providers.
at line 86
array|null
loadManifest()
Load the service provider manifest JSON file.
at line 107
bool
shouldRecompile(array $manifest, array $providers)
Determine if the manifest should be compiled.
at line 119
protected void
registerLoadEvents(string $provider, array $events)
Register the load events for the given provider.
at line 136
protected array
compileManifest(array $providers)
Compile the application service manifest file.
at line 174
protected array
freshManifest(array $providers)
Create a fresh service manifest data structure.
at line 187
array
writeManifest(array $manifest)
Write the service manifest file to disk.
at line 206
ServiceProvider
createProvider(string $provider)
Create a new provider instance.