ApiKeyRequestAuthentication::toArray(): WordPressAiClientProvidersHttpDTOApiKeyRequestAuthenticationArrayShape

In this article

{@inheritDoc}

Return

WordPressAiClientProvidersHttpDTOApiKeyRequestAuthenticationArrayShape

Source

public function toArray(): array
{
    return [self::KEY_API_KEY => $this->apiKey];
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.