interface ProvidesInertiaProperties

Methods

iterable
toInertiaProperties(RenderContext $context)

Get the properties to be provided to Inertia. This method allows objects to dynamically provide properties that will be serialized and sent to the frontend.

Details

at line 16
iterable toInertiaProperties(RenderContext $context)

Get the properties to be provided to Inertia. This method allows objects to dynamically provide properties that will be serialized and sent to the frontend.

Parameters

RenderContext $context

Return Value

iterable