33 lines
639 B
PHP
33 lines
639 B
PHP
<?php
|
|
/**
|
|
* Text Plain External Transformations plugin for phpMyAdmin
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Plugins\Transformations\Output;
|
|
|
|
use PhpMyAdmin\Plugins\Transformations\Abs\ExternalTransformationsPlugin;
|
|
|
|
/**
|
|
* Handles the external transformation for text plain
|
|
*/
|
|
class Text_Plain_External extends ExternalTransformationsPlugin
|
|
{
|
|
/**
|
|
* 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';
|
|
}
|
|
}
|