public function __construct(string $id, $instance) { $this->id = $id; $this->instance = deep_clone($instance); }