\App\Http\MiddlewareMakeMenu

Summary

Methods
Properties
Constants
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

handle()

handle(\Illuminate\Http\Request  $request, \Closure  $next) : mixed

Handle an incoming request.

TODO: convert these to helper functions so that view can call them.

Create menu objects so that it available for all the views

Parameters

\Illuminate\Http\Request $request
\Closure $next

Returns

mixed