class
Illuminate
/
Foundation
/
ProviderRepository
ProviderRepository
Properties
protected
$manifestPath string
The path to the manifest file.
Default: null
Methods
public
__construct ( Application $app , Filesystem $files , $manifestPath ) : void
Create a new service repository instance.
Parameters
- $app Application
- $files Filesystem
- $manifestPath string
public
load ( array $providers ) : void
Register the application service providers.
Parameters
- $providers array
public
loadManifest ( ) : array|null
Load the service provider manifest JSON file.
public
shouldRecompile ( $manifest , $providers ) : bool
Determine if the manifest should be compiled.
Parameters
- $manifest array
- $providers array
protected
registerLoadEvents ( $provider , array $events ) : void
Register the load events for the given provider.
Parameters
- $provider string
- $events array
protected
compileManifest ( $providers ) : array
Compile the application service manifest file.
Parameters
- $providers array
protected
freshManifest ( array $providers ) : array
Create a fresh service manifest data structure.
Parameters
- $providers array
public
writeManifest ( $manifest ) : array
Write the service manifest file to disk.
Parameters
- $manifest array
public
createProvider ( $provider ) : ServiceProvider
Create a new provider instance.
Parameters
- $provider string