ProvidesInertiaProperty
interface ProvidesInertiaProperty
Methods
mixed
toInertiaProperty(PropertyContext $prop)
Convert the instance to an Inertia property value. This method is called when the object is used as a property value in an Inertia response, allowing for custom serialization.
Details
at line 14
mixed
toInertiaProperty(PropertyContext $prop)
Convert the instance to an Inertia property value. This method is called when the object is used as a property value in an Inertia response, allowing for custom serialization.