inertia_factory
class inertia_factory
| internal |
Factory responsible for creating Inertia responses.
Keeps response construction centralized to allow future decorators.
Methods
static inertia_response
render(string $component, array $props = [], Request|null $request = null)
Build an Inertia response wrapper for the given component and props.
Details
at line 32
static inertia_response
render(string $component, array $props = [], Request|null $request = null)
Build an Inertia response wrapper for the given component and props.