Aplikasi Keuangan yang mengatur lalu lintas transaksi antara bank dan aplikasi internal Kampus
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
559 B

<?php
namespace App\UI\Support\Schemas;
interface BaseSchema
{
/**
* Parameterless factory method for fluent API instantiation.
*/
public static function make(): static;
/**
* Pass dynamic context (e.g., form state or Livewire state) into the schema.
*/
public function withContext(array $context): static;
/**
* Resolve the schema payload.
* Returns SchemaField for individual inputs, or array<string, SchemaField> for group containers.
*/
public function getSchema(): array|InputSchemaField;
}