Documentation

ApiEntryPoint
in package

Middleware used by APIs to manage versioning

Table of Contents

ACCESS_DENIED_MESSAGE  = "Access denied"
handle()  : mixed
Handles incoming requests, will check the apiVersion route parameter and remove it from the parameters bag

Constants

ACCESS_DENIED_MESSAGE

public mixed ACCESS_DENIED_MESSAGE = "Access denied"

Methods

handle()

Handles incoming requests, will check the apiVersion route parameter and remove it from the parameters bag

public handle(Request $request, Closure $next) : mixed
Parameters
$request : Request
$next : Closure
Tags
throws
BindingResolutionException
Return values
mixed

Search results