RequiredOption::toArray(): WordPressAiClientProvidersModelsDTORequiredOptionArrayShape

In this article

{@inheritDoc}

Return

WordPressAiClientProvidersModelsDTORequiredOptionArrayShape

Source

public function toArray(): array
{
    return [self::KEY_NAME => $this->name->value, self::KEY_VALUE => $this->value];
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

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