getGame()->getName(); $platformName = $this->getPlatform()->getName(); $category = $this->getCategory(); return "$gameName ($platformName $category Demo)"; } public function __toString(): string { return $this->getName(); } }