PHP Class Flugg\Responder\ResponderServiceProvider

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

Protected Properties

Property Type Description
$config Illuminate\Config\Repository Keeps a quick reference to the Responder config.
$defer boolean Indicates if loading of the provider is deferred.

Public Methods

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

Protected Methods

Method 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 method

Bootstrap the application events.
public boot ( ) : void
return void

bootLaravelApplication() protected method

Bootstrap the Laravel application.
protected bootLaravelApplication ( ) : void
return void

bootLumenApplication() protected method

Bootstrap the Lumen application.
protected bootLumenApplication ( ) : void
return void

provides() public method

Get the services provided by the provider.
public provides ( ) : array
return array

register() public method

Register the service provider.
public register ( ) : void
return void

registerAliases() protected method

Set aliases for the provided services.
protected registerAliases ( ) : void
return void

registerFractal() protected method

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

registerResponseBuilders() protected method

Register success and error response builders.
protected registerResponseBuilders ( ) : void
return void

Property Details

$config protected_oe property

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

$defer protected_oe property

Indicates if loading of the provider is deferred.
protected bool $defer
return boolean