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.

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

at line line 39
void __construct( Application $app, Filesystem $files, string $manifestPath)

Create a new service repository instance.

Parameters

Application $app
Filesystem $files
string $manifestPath

Return Value

void

at line line 52
void load( array $providers)

Register the application service providers.

Parameters

array $providers

Return Value

void

at line line 144
ServiceProvider createProvider( string $provider)

Create a new provider instance.

Parameters

string $provider

Return Value

ServiceProvider

at line line 156
bool shouldRecompile( array $manifest, array $providers)

Determine if the manifest should be compiled.

Parameters

array $manifest
array $providers

Return Value

bool

at line line 166
array|null loadManifest()

Load the service provider manifest JSON file.

Return Value

array|null

at line line 184
array writeManifest( array $manifest)

Write the service manifest file to disk.

Parameters

array $manifest

Return Value

array