ProviderRepository (Foundation)

ProviderRepository

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.

ServiceProvider 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

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

Create a new service repository instance.

Parameters

Application $app
Filesystem $files
string $manifestPath

Return Value

void

void load(array $providers)

Register the application service providers.

Parameters

array $providers

Return Value

void

ServiceProvider createProvider(string $provider)

Create a new provider instance.

Parameters

string $provider

Return Value

ServiceProvider

bool shouldRecompile(array $manifest, array $providers)

Determine if the manifest should be compiled.

Parameters

array $manifest
array $providers

Return Value

bool

array|null loadManifest()

Load the service provider manifest JSON file.

Return Value

array|null

array writeManifest(array $manifest)

Write the service manifest file to disk.

Parameters

array $manifest

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Foundation/ProviderRepository.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部