private function complexValue() { if (!$this->complexValue) { $this->complexValue = new \stdClass(); $this->complexValue->someArbitrary = 'complexValue'; } return $this->complexValue; }