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