PHP Class Dingo\Api\Provider\LumenServiceProvider

Inheritance: extends DingoServiceProvider
Show file Open project: dingo/api

Public Methods

Method Description
boot ( ) : void Boot the service provider.
register ( ) : void Register the service provider.

Protected Methods

Method Description
addRequestMiddlewareToBeginning ( ReflectionClass $reflection ) : void Add the request middleware to the beginning of the middleware stack on the Lumen application instance.
gatherAppMiddleware ( ReflectionClass $reflection ) : array Gather the application middleware besides this one so that we can send our request through them, exactly how the developer wanted.
setupConfig ( ) : void Setup the configuration.

Method Details

addRequestMiddlewareToBeginning() protected method

Add the request middleware to the beginning of the middleware stack on the Lumen application instance.
protected addRequestMiddlewareToBeginning ( ReflectionClass $reflection ) : void
$reflection ReflectionClass
return void

boot() public method

Boot the service provider.
public boot ( ) : void
return void

gatherAppMiddleware() protected method

Gather the application middleware besides this one so that we can send our request through them, exactly how the developer wanted.
protected gatherAppMiddleware ( ReflectionClass $reflection ) : array
$reflection ReflectionClass
return array

register() public method

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

setupConfig() protected method

Setup the configuration.
protected setupConfig ( ) : void
return void