WordPress\AiClient\Providers\Http\DTO
ApiKeyRequestAuthentication::toArray
{@inheritDoc}
Метод класса: ApiKeyRequestAuthentication{}
Хуков нет.
Возвращает
ApiKeyRequestAuthenticationArrayShape.
Использование
$ApiKeyRequestAuthentication = new ApiKeyRequestAuthentication(); $ApiKeyRequestAuthentication->toArray(): array;
Список изменений
| С версии 0.1.0 | Введена. |
Код ApiKeyRequestAuthentication::toArray() ApiKeyRequestAuthentication::toArray WP 7.1.2
public function toArray(): array
{
return [self::KEY_API_KEY => $this->apiKey];
}