/** * Removes the value object from the storage. * * @return void * @since 5.1 */ public function delete($id = false) { $id = $id != false ? $id : $this->valueObject->getValue($this->config->getIdField()); if (!$id) { return; } $dar = $this->update('DELETE FROM ' . $this->config->getTable() . ' WHERE ' . $this->config->getIdField() . '=' . $id); }