/** * Get filetype * * @return string */ public function getFileType() { return $this->getType() ?: parent::getFileType(); }