id = $id; $this->name = $name; $this->ownerId = $ownerId; $this->creationDate = $creationDate; $this->courtType = $type; $this->content = $content; } /** * @return string */ public function getContent(): string { return $this->content; } public function getId(): int { return $this->id; } public function getName(): string { return $this->name; } /** * @return int */ public function getOwnerId(): int { return $this->ownerId; } public function getCourtType(): CourtType { return $this->courtType; } /** * @return int */ public function getCreationDate(): int { return $this->creationDate; } }