PHP Класс Illuminate\Foundation\ProviderRepository

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$files Illuminate\Filesystem\Filesystem The filesystem instance.
$isSae boolean SAE or not.
$manifestPath string The path to the manifest.
$memcache Memcache SAE memache objectß.

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
compileManifest ( Illuminate\Foundation\Application $app, array $providers ) : array Compile the application manifest file.
freshManifest ( array $providers ) : array Create a fresh manifest array.

Описание методов

__construct() публичный Метод

Create a new service repository instance.
public __construct ( Illuminate\Filesystem\Filesystem $files, string $manifestPath ) : void
$files Illuminate\Filesystem\Filesystem
$manifestPath string
Результат void

compileManifest() защищенный Метод

Compile the application manifest file.
protected compileManifest ( Illuminate\Foundation\Application $app, array $providers ) : array
$app Illuminate\Foundation\Application
$providers array
Результат array

createProvider() публичный Метод

Create a new provider instance.
public createProvider ( Illuminate\Foundation\Application $app, string $provider ) : ServiceProvider
$app Illuminate\Foundation\Application
$provider string
Результат Illuminate\Support\ServiceProvider

detectSae() публичный Метод

Determine wether we are running on SAE
public detectSae ( ) : boolean
Результат boolean

freshManifest() защищенный Метод

Create a fresh manifest array.
protected freshManifest ( array $providers ) : array
$providers array
Результат array

getFilesystem() публичный Метод

Get the filesystem instance.
public getFilesystem ( ) : Illuminate\Filesystem\Filesystem
Результат Illuminate\Filesystem\Filesystem

load() публичный Метод

Register the application service providers.
public load ( Illuminate\Foundation\Application $app, array $providers ) : void
$app Illuminate\Foundation\Application
$providers array
Результат void

loadManifest() публичный Метод

Load the service provider manifest JSON file.
public loadManifest ( ) : array
Результат array

shouldRecompile() публичный Метод

Determine if the manifest should be compiled.
public shouldRecompile ( array $manifest, array $providers ) : boolean
$manifest array
$providers array
Результат boolean

writeManifest() публичный Метод

Write the service manifest file to disk.
public writeManifest ( array $manifest ) : array
$manifest array
Результат array

Описание свойств

$files защищенное свойство

The filesystem instance.
protected Filesystem,Illuminate\Filesystem $files
Результат Illuminate\Filesystem\Filesystem

$isSae защищенное свойство

SAE or not.
protected bool $isSae
Результат boolean

$manifestPath защищенное свойство

The path to the manifest.
protected string $manifestPath
Результат string

$memcache защищенное свойство

SAE memache objectß.
protected Memcache $memcache
Результат Memcache