/** * {@inheritdoc} */ public function detach($event) { $this->events = \phpOMS\Utils\ArrayUtils::unsetArray($event, $this->events, '/'); }
/** * 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); }