<?php class WC_Shipping_Method { public string $id; public function __construct($instance_id) { $this->id = 'test_id'; } }