public function set(Commit $commit) { $this->setHash($commit->hashHash()); $this->setLabel($commit->getLabel()); $this->setComments($commit->getComments()); }