wp-includes/php-ai-client/src/Providers/Models/DTO/ModelRequirements.php:301WordPress\AiClient\Providers\Models\DTO\ModelRequirementsArrayShape public function toArray(): array { return [self::KEY_REQUIRED_CAPABILITIES => array_map(static fn(CapabilityEnum $capability): string => $capability->value, $this->requiredCapabilities), self::KEY_REQUIRED_OPTIONS => array_map(static fn(\WordPress\AiClient\Providers\Models\DTO\RequiredOption $option): array => $option->toArray(), $this->requiredOptions)]; }Introduced in 0.1.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/php-ai-client/src/Providers/Models/DTO/ModelRequirements.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.