PHP Class Illuminate\Foundation\ProviderRepository

ファイルを表示 Open project: chekun/laravel4sae Class Usage Examples

Protected Properties

Property Type Description
$files Illuminate\Filesystem\Filesystem The filesystem instance.
$isSae boolean SAE or not.
$manifestPath string The path to the manifest.
$memcache Memcache SAE memache objectß.

Public Methods

Method Description
__construct ( Illuminate\Filesystem\Filesystem $files, string $manifestPath ) : void Create a new service repository instance.
createProvider ( Illuminate\Foundation\Application $app, string $provider ) : ServiceProvider Create a new provider instance.
detectSae ( ) : boolean Determine wether we are running on SAE
getFilesystem ( ) : Illuminate\Filesystem\Filesystem Get the filesystem instance.
load ( Illuminate\Foundation\Application $app, array $providers ) : void Register the application service providers.
loadManifest ( ) : array Load the service provider manifest JSON file.
shouldRecompile ( array $manifest, array $providers ) : boolean Determine if the manifest should be compiled.
writeManifest ( array $manifest ) : array Write the service manifest file to disk.

Protected Methods

Method Description
compileManifest ( Illuminate\Foundation\Application $app, array $providers ) : array Compile the application manifest file.
freshManifest ( array $providers ) : array Create a fresh manifest array.

Method Details

__construct() public method

Create a new service repository instance.
public __construct ( Illuminate\Filesystem\Filesystem $files, string $manifestPath ) : void
$files Illuminate\Filesystem\Filesystem
$manifestPath string
return void

compileManifest() protected method

Compile the application manifest file.
protected compileManifest ( Illuminate\Foundation\Application $app, array $providers ) : array
$app Illuminate\Foundation\Application
$providers array
return array

createProvider() public method

Create a new provider instance.
public createProvider ( Illuminate\Foundation\Application $app, string $provider ) : ServiceProvider
$app Illuminate\Foundation\Application
$provider string
return Illuminate\Support\ServiceProvider

detectSae() public method

Determine wether we are running on SAE
public detectSae ( ) : boolean
return boolean

freshManifest() protected method

Create a fresh manifest array.
protected freshManifest ( array $providers ) : array
$providers array
return array

getFilesystem() public method

Get the filesystem instance.
public getFilesystem ( ) : Illuminate\Filesystem\Filesystem
return Illuminate\Filesystem\Filesystem

load() public method

Register the application service providers.
public load ( Illuminate\Foundation\Application $app, array $providers ) : void
$app Illuminate\Foundation\Application
$providers array
return void

loadManifest() public method

Load the service provider manifest JSON file.
public loadManifest ( ) : array
return array

shouldRecompile() public method

Determine if the manifest should be compiled.
public shouldRecompile ( array $manifest, array $providers ) : boolean
$manifest array
$providers array
return boolean

writeManifest() public method

Write the service manifest file to disk.
public writeManifest ( array $manifest ) : array
$manifest array
return array

Property Details

$files protected_oe property

The filesystem instance.
protected Filesystem,Illuminate\Filesystem $files
return Illuminate\Filesystem\Filesystem

$isSae protected_oe property

SAE or not.
protected bool $isSae
return boolean

$manifestPath protected_oe property

The path to the manifest.
protected string $manifestPath
return string

$memcache protected_oe property

SAE memache objectß.
protected Memcache $memcache
return Memcache