text = $text; $this->photoName = $photoName; } public function getText() : string{ return $this->text; } public function getPhotoName() : string{ return $this->photoName; } }