lms/vendor/inertiajs/inertia-laravel/src/ProvidesInertiaProperties.php
2025-12-15 12:26:23 +01:00

16 lines
379 B
PHP

<?php
namespace Inertia;
interface ProvidesInertiaProperties
{
/**
* 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.
*
* @return array<string, mixed>
*/
public function toInertiaProperties(RenderContext $context): iterable;
}