/** * Get the mediatype of the file. * * @return string The mediatype of the file. */ public function get_mediatype() { return \pdyn\filesystem\Mimetype::get_mediatype($this->type, $this->stored_filename); }