private function checkFileTypeIsNotBlocked()
	{
		if(in_array($this->file->getMimeType(), $this->blockedMimeTypes))
		{
			throw new InvalidFileTypeException("Invalid File Type: " . $this->file->getMimeType() . " type has been blocked");
		}
	}
private function checkFileTypeIsNotBlocked()
	{
		if(in_array($this->file->getMimeType(), $this->blockedMimeTypes))
		{
			throw new InvalidFileTypeException("Invalid File Type: " . $this->file->getMimeType() . " type has been blocked");
		}
	}
private function checkFileTypeIsNotBlocked ( ) { if ( in_array ( $ this -> file -> getMimeType ( ) , $ this -> blockedMimeTypes ) ) { throw new InvalidFileTypeException ( "Invalid File Type: " . $ this -> file -> getMimeType ( ) . " type has been blocked" ) ; } }
Validate blocked MIME types, this can be used instead of allowed_mime_types,
to block uploads of specific file types.

@throws InvalidFileTypeException
Validate blocked MIME types this can be used instead of allowed_mime_types to block uploads of specific file types .