PHP Class Dingo\Api\Provider\LaravelServiceProvider

Inheritance: extends DingoServiceProvider
Datei anzeigen 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 ( Illuminate\Contracts\Http\Kernel $kernel ) : void Add the request middleware to the beginning of the kernel.
gatherAppMiddleware ( Illuminate\Contracts\Http\Kernel $kernel ) : array Gather the application middleware besides this one so that we can send our request through them, exactly how the developer wanted.
getRouterBindings ( ) : array Get the Laravel routers bindings.
registerRouterAdapter ( ) : void Register the router adapter.
replaceRouteDispatcher ( ) : void Replace the route dispatcher.
updateRouterBindings ( ) : void Grab the bindings from the Laravel router and set them on the adapters router.

Method Details

addRequestMiddlewareToBeginning() protected method

Add the request middleware to the beginning of the kernel.
protected addRequestMiddlewareToBeginning ( Illuminate\Contracts\Http\Kernel $kernel ) : void
$kernel Illuminate\Contracts\Http\Kernel
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 ( Illuminate\Contracts\Http\Kernel $kernel ) : array
$kernel Illuminate\Contracts\Http\Kernel
return array

getRouterBindings() protected method

Get the Laravel routers bindings.
protected getRouterBindings ( ) : array
return array

register() public method

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

registerRouterAdapter() protected method

Register the router adapter.
protected registerRouterAdapter ( ) : void
return void

replaceRouteDispatcher() protected method

Replace the route dispatcher.
protected replaceRouteDispatcher ( ) : void
return void

updateRouterBindings() protected method

Grab the bindings from the Laravel router and set them on the adapters router.
protected updateRouterBindings ( ) : void
return void