WordPress\AiClient\Common\Contracts
WithJsonSchemaInterface::getJsonSchema
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() WithJsonSchemaInterface::getJsonSchema WP 7.1.4
public static function getJsonSchema(): array;