/** * @param MeshTreeInterface $tree */ public function addTree(MeshTreeInterface $tree) { $this->trees->add($tree); }
/** * @param MeshTreeInterface $tree */ public function removeTree(MeshTreeInterface $tree) { if ($this->trees->contains($tree)) { $this->trees->removeElement($tree); } }