protected function getNonMutatedProperty($key) { if (isset($this->cached[$key])) { return $this->cached[$key]; } $value = isset($this->properties[$key]) ? $this->properties[$key] : null; return $value; }