WebSearch::fromArray( $array ) In this article Table of ContentsSource Related Changelog ↑ Back to top {@inheritDoc} Source public static function fromArray(array $array): self { return new self($array[self::KEY_ALLOWED_DOMAINS] ?? [], $array[self::KEY_DISALLOWED_DOMAINS] ?? []); } View all references View on Trac View on GitHub Related UsesDescriptionWebSearch::__construct()wp-includes/php-ai-client/src/Tools/DTO/WebSearch.phpConstructor. Used byDescriptionModelConfig::fromArray()wp-includes/php-ai-client/src/Providers/Models/DTO/ModelConfig.php{@inheritDoc} Changelog VersionDescription0.1.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.