ProviderRepository
class ProviderRepository (View source)
Properties
protected Filesystem | $files | The filesystem instance. |
|
protected string | $manifestPath | The path to the manifest. |
|
protected array | $default | Default manifest structure. |
Methods
Register the load events for the given provider.
Determine if the manifest should be compiled.
Load the service provider manifest JSON file.
Write the service manifest file to disk.
Create a fresh manifest array.
Get the filesystem instance.
Details
void
__construct(Filesystem $files, string $manifestPath)
Create a new service repository instance.
void
load(Application $app, array $providers)
Register the application service providers.
protected void
registerLoadEvents(Application $app, string $provider, array $events)
Register the load events for the given provider.
protected array
compileManifest(Application $app, array $providers)
Compile the application manifest file.
ServiceProvider
createProvider(Application $app, string $provider)
Create a new provider instance.
bool
shouldRecompile(array $manifest, array $providers)
Determine if the manifest should be compiled.
array
loadManifest()
Load the service provider manifest JSON file.
array
writeManifest(array $manifest)
Write the service manifest file to disk.
protected array
freshManifest(array $providers)
Create a fresh manifest array.
Filesystem
getFilesystem()
Get the filesystem instance.