API / Minn\Rest / SchemaData

SchemaData final class

Minn\Rest\SchemaData · public/minn/src/Minn/Rest/SchemaData.php · 12 lines

REST schemas captured from the reference for the facade's controller classes (data/rest-schemas.json): an item schema, a collection's parameters or a route argument, by name. Callbacks are not data, so a controller adds its own.

Uses 1

Constants and properties

privatestatic ?array $all

Public

staticof(string $name): array#

One captured schema by name; an empty array when there is none. @return array<string, mixed>

@return array<string, mixed>