PHP Class Flugg\Responder\ResponderServiceProvider

Author: Alexander Tømmerås ([email protected])
Inheritance: extends Illuminate\Support\ServiceProvider
Afficher le fichier Open project: flugger/laravel-responder

Protected Properties

Свойство Type Description
$config Illuminate\Config\Repository Keeps a quick reference to the Responder config.
$defer boolean Indicates if loading of the provider is deferred.

Méthodes publiques

Méthode Description
boot ( ) : void Bootstrap the application events.
provides ( ) : array Get the services provided by the provider.
register ( ) : void Register the service provider.

Méthodes protégées

Méthode Description
bootLaravelApplication ( ) : void Bootstrap the Laravel application.
bootLumenApplication ( ) : void Bootstrap the Lumen application.
registerAliases ( ) : void Set aliases for the provided services.
registerFractal ( ) : void Register Fractal serializer, manager and a factory to generate Fractal resource instances.
registerResponseBuilders ( ) : void Register success and error response builders.

Method Details

boot() public méthode

Bootstrap the application events.
public boot ( ) : void
Résultat void

bootLaravelApplication() protected méthode

Bootstrap the Laravel application.
protected bootLaravelApplication ( ) : void
Résultat void

bootLumenApplication() protected méthode

Bootstrap the Lumen application.
protected bootLumenApplication ( ) : void
Résultat void

provides() public méthode

Get the services provided by the provider.
public provides ( ) : array
Résultat array

register() public méthode

Register the service provider.
public register ( ) : void
Résultat void

registerAliases() protected méthode

Set aliases for the provided services.
protected registerAliases ( ) : void
Résultat void

registerFractal() protected méthode

Register Fractal serializer, manager and a factory to generate Fractal resource instances.
protected registerFractal ( ) : void
Résultat void

registerResponseBuilders() protected méthode

Register success and error response builders.
protected registerResponseBuilders ( ) : void
Résultat void

Property Details

$config protected_oe property

Keeps a quick reference to the Responder config.
protected Repository,Illuminate\Config $config
Résultat Illuminate\Config\Repository

$defer protected_oe property

Indicates if loading of the provider is deferred.
protected bool $defer
Résultat boolean