Example #1
0
 public function setParent(Item $item)
 {
     if ($item->isAGroup()) {
         $this->parent = $item;
     }
 }