public function getItems() { if (count($this->items) === 0) { $this->items = Item::getItemsForAuction($this->id); } return $this->items; }