private function buildIfNecessary() { if (!$this->hasBeenBuilt) { $this->build(); $this->hasBeenBuilt = true; } }