Example #1
0
 /**
  * Unset a data.
  *
  * @param   mixed  $offset    Data name.
  * @return  void
  */
 public function offsetUnset($offset)
 {
     parent::offsetUnset($offset);
     if (true === $this->isEmpty()) {
         $this->delete();
     }
     return;
 }