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
void | __construct(Filesystem $files, string $manifestPath) Create a new service repository instance. | |
void | load(Application $app, array $providers) Register the application service providers. | |
void | registerLoadEvents(Application $app, string $provider, array $events) Register the load events for the given provider. | |
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. | |
array | freshManifest(array $providers) Create a fresh manifest array. | |
Filesystem | getFilesystem() 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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/4.2/Illuminate/Foundation/ProviderRepository.html