WebSearch::toArray(): WordPressAiClientToolsDTOWebSearchArrayShape

In this article

{@inheritDoc}

Return

WordPressAiClientToolsDTOWebSearchArrayShape

Source

public function toArray(): array
{
    return [self::KEY_ALLOWED_DOMAINS => $this->allowedDomains, self::KEY_DISALLOWED_DOMAINS => $this->disallowedDomains];
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

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