public function getRatingHeaderForPlatform(Platforms $platform) { $query = new RatingHeadersQuery(); $query->filterByGames($this); return $query->findOneByGamePlatformId($platform->getId()); }