url = $url; $this->linkType = $linkType; $this->currentFileName = $currentFileName; } public function getUrl(): string { return $this->url; } public function getLinkType(): string { return $this->linkType; } public function getCurrentFileName(): string { return $this->currentFileName; } }