fileName = $fileName; $this->contents = $contents; $this->contentType = $contentType; } /** * @return resource|string|mixed|null */ public function getContents() { return $this->contents; } public function getFileName(): string { return $this->fileName; } public function getContentType(): ?string { return $this->contentType; } }