/** * @return Tracker_Artifact_Changeset */ public function build() { $changeset = new Tracker_Artifact_Changeset($this->id, $this->artifact, $this->submitted_by, $this->submitted_on, $this->email); if ($this->comment !== null) { $changeset->setLatestComment($this->comment); } return $changeset; }