/** * @param ObjectiveInterface $descendant */ public function addDescendant(ObjectiveInterface $descendant) { if (!$this->descendants->contains($descendant)) { $this->descendants->add($descendant); } }