public function get($key) { if (!$this->prepareKey($key)) { return null; } return isset($this->data[$key]) ? $this->data[$key] : null; }