33 lines
676 B
PHP
33 lines
676 B
PHP
<?php
|
|
/**
|
|
* Text Plain File Upload Input Transformations plugin for phpMyAdmin
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Plugins\Transformations\Input;
|
|
|
|
use PhpMyAdmin\Plugins\Transformations\Abs\TextFileUploadTransformationsPlugin;
|
|
|
|
/**
|
|
* Handles the input text file upload transformation for text plain.
|
|
*/
|
|
class Text_Plain_FileUpload extends TextFileUploadTransformationsPlugin
|
|
{
|
|
/**
|
|
* Gets the plugin`s MIME type
|
|
*/
|
|
public static function getMIMEType(): string
|
|
{
|
|
return 'Text';
|
|
}
|
|
|
|
/**
|
|
* Gets the plugin`s MIME subtype
|
|
*/
|
|
public static function getMIMESubtype(): string
|
|
{
|
|
return 'Plain';
|
|
}
|
|
}
|