wp-includes/php-ai-client/src/Providers/DTO/ProviderMetadata.php:199WordPress\AiClient\Providers\DTO\ProviderMetadataArrayShape public function toArray(): array { return [self::KEY_ID => $this->id, self::KEY_NAME => $this->name, self::KEY_DESCRIPTION => $this->description, self::KEY_TYPE => $this->type->value, self::KEY_CREDENTIALS_URL => $this->credentialsUrl, self::KEY_AUTHENTICATION_METHOD => $this->authenticationMethod ? $this->authenticationMethod->value : null, self::KEY_LOGO_PATH => $this->logoPath]; }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/DTO/ProviderMetadata.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.