store = $store; } public function get($key) { if ($this->has($key)) { return $this->store[$key]; } return null; } public function has($key) { return isset($this->store[$key]) && array_key_exists($key, $this->store); } public function getAll() { return $this->store; } }