wp-includes/php-ai-client/src/Providers/Models/DTO/ModelMetadata.php:62Constructor.
$idstring$namestring$supportedCapabilitiesWordPress\AiClient\Providers\Models\DTO\list<CapabilityEnum>$supportedOptionsWordPress\AiClient\Providers\Models\DTO\list<SupportedOption> public function __construct(string $id, string $name, array $supportedCapabilities, array $supportedOptions) { if (!array_is_list($supportedCapabilities)) { throw new InvalidArgumentException('Supported capabilities must be a list array.'); } if (!array_is_list($supportedOptions)) { throw new InvalidArgumentException('Supported options must be a list array.'); } $this->id = $id; $this->name = $name; $this->supportedCapabilities = $supportedCapabilities; $this->supportedOptions = $supportedOptions; }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/ModelMetadata.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.