class Integration

Methods

__construct(Application $app)

Create the Inertia integration registrar.

void
register()

Register Hypervel Head's optional Inertia integration.

void
registerMiddleware()

Share head elements during every request in coroutine-local Inertia state.

void
decorateSsrGateway()

Strip page-managed head elements from Inertia SSR responses at the gateway, so @head remains authoritative for the initial document no matter where it renders relative to Inertia's head component.

Details

at line 20
__construct(Application $app)

Create the Inertia integration registrar.

Parameters

Application $app

at line 29
void register()

Register Hypervel Head's optional Inertia integration.

Gateway bindings and middleware affect every request in the worker.

Return Value

void

at line 43
protected void registerMiddleware()

Share head elements during every request in coroutine-local Inertia state.

Return Value

void

at line 62
protected void decorateSsrGateway()

Strip page-managed head elements from Inertia SSR responses at the gateway, so @head remains authoritative for the initial document no matter where it renders relative to Inertia's head component.

Return Value

void