getPath()}|{$this->getTitle()}|{$this->getMimeType()}"; } public function getTitle(): string { return $this->attributes['file_name']; } public function setTitle(string $file_name): void { $this->attributes['file_name'] = $file_name; } //Common Function public function getPath(): string { return $this->attributes['file_path']; } public function setPath(string $file_path): void { $this->attributes['file_path'] = $file_path; } final public function getMimeType(): string { return $this->attributes['file_type']; } public function setMimeType(string $mimetype): void { $this->attributes['file_type'] = $mimetype; } final public function getSize(): int { return $this->attributes['file_size']; } public function setSize(int $file_size): void { $this->attributes['file_size'] = $file_size; } final public function getMediaHTML(): string { return $this->attributes['media_html']; } public function setMediaHTML(string $media_html): void { $this->attributes['media_html'] = $media_html; } }