getMimeType()); return ! array_intersect($file_mimetype, $mimetype_blacklist); } /** * Get the validation error message. * * @return string */ public function message() { return 'Type of this mime type is not allowed.'; } }