public function remove($object) { $id = $this->stringify($this->getIdentity($object)); $db = $this->loadDb(); unset($db[$id]); $this->saveDb($db); }
/** {@inheritdoc} */ public function remove(UuidInterface $reservationId) { $reservation = $this->get($reservationId); $this->file->remove($reservation); }