<?php public function delete($key) { if (!$this->has($key)) { return false; } unset($this->settings[$key]); }