[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/php-ai-client/src/Common/Contracts/ -> WithJsonSchemaInterface.php (summary)

(no description)

File Size: 24 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WithJsonSchemaInterface:: (1 method):
  getJsonSchema()


Interface: WithJsonSchemaInterface  - X-Ref

Interface for objects that can provide their JSON schema representation.

This interface is implemented by DTOs to provide a consistent way to retrieve
their JSON schema for validation and serialization purposes.

getJsonSchema()   X-Ref
Gets the JSON schema representation of the object.

return: array<string, mixed> The JSON schema as an associative array.



Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref