HandleInertiaRequests
extends Middleware
in package
Table of Contents
Properties
- $rootView : string
- The root template that's loaded on the first page visit.
Methods
- share() : array<string, mixed>
- Define the props that are shared by default.
- version() : string|null
- Determines the current asset version.
Properties
$rootView
The root template that's loaded on the first page visit.
protected
string
$rootView
= 'app'
Tags
Methods
share()
Define the props that are shared by default.
public
share(Request $request) : array<string, mixed>
Parameters
- $request : Request
Tags
Return values
array<string, mixed>version()
Determines the current asset version.
public
version(Request $request) : string|null
Parameters
- $request : Request