Ejemplo n.º 1
0
 /**
  * Delete option and its child
  *
  * @throws LogicException
  * @throws SectionException
  * @throws InvalidArgumentException
  */
 public function delete()
 {
     foreach ($this->getSelfTypeIterator() as $definition) {
         if ($definition->isHasInheritance() && $definition->getInheritance() === $this) {
             $definition->delete();
         }
     }
     parent::delete();
 }