id; } public function setTitle($title) { $this->title = $title; } public function getTitle() { return $this->title; } public function setFilePath($filePath) { $this->filePath = $filePath; } public function getFilePath() { return $this->filePath; } public function getPath($basePath = null) { if ($this->useBasePath) { return $basePath.'/abc/def'; } return __DIR__.'/../../../../temp/uploadable'; } public function setMime($mime) { $this->mime = $mime; } public function getMime() { return $this->mime; } public function setSize($size) { $this->size = $size; } public function getSize() { return $this->size; } public function setUseBasePath($useBasePath) { $this->useBasePath = $useBasePath; } }