PHP Class Dingo\Api\Provider\LaravelServiceProvider

Inheritance: extends DingoServiceProvider
Afficher le fichier Open project: dingo/api

Méthodes publiques

Méthode Description
boot ( ) : void Boot the service provider.
register ( ) : void Register the service provider.

Méthodes protégées

Méthode 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 méthode

Add the request middleware to the beginning of the kernel.
protected addRequestMiddlewareToBeginning ( Illuminate\Contracts\Http\Kernel $kernel ) : void
$kernel Illuminate\Contracts\Http\Kernel
Résultat void

boot() public méthode

Boot the service provider.
public boot ( ) : void
Résultat void

gatherAppMiddleware() protected méthode

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
Résultat array

getRouterBindings() protected méthode

Get the Laravel routers bindings.
protected getRouterBindings ( ) : array
Résultat array

register() public méthode

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

registerRouterAdapter() protected méthode

Register the router adapter.
protected registerRouterAdapter ( ) : void
Résultat void

replaceRouteDispatcher() protected méthode

Replace the route dispatcher.
protected replaceRouteDispatcher ( ) : void
Résultat void

updateRouterBindings() protected méthode

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