WordPress\AiClient\Common\Contracts

WithJsonSchemaInterface::getJsonSchema │ public static │ WP 0.1.0

Gets the JSON schema representation of the object.

Метод класса: WithJsonSchemaInterface{}

Хуков нет.

Возвращает

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

Использование

$result = WithJsonSchemaInterface::getJsonSchema(): array;

Список изменений

С версии 0.1.0 Введена.

Код WithJsonSchemaInterface::getJsonSchema() WP 7.1.4

public static function getJsonSchema(): array;