class Illuminate / Foundation / ProviderRepository
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

ProviderRepository

Properties

protected

$app Application

The application implementation.

Default: null
protected

$files Filesystem

The filesystem instance.

Default: null
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

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