예제 #1
0
 /**
  * {@inheritdoc}
  */
 public function detach($event)
 {
     $this->events = \phpOMS\Utils\ArrayUtils::unsetArray($event, $this->events, '/');
 }
예제 #2
0
 /**
  * Remove data
  *
  * @param string $path  Path to the element to delete
  * @param string $delim Delim used inside path
  *
  * @since  1.0.0
  * @author Dennis Eichhorn
  */
 public function remove($path, $delim)
 {
     $this->json = \phpOMS\Utils\ArrayUtils::unsetArray($path, $this->json, $delim);
 }