phpmyadmin/libraries/classes/Plugins/Transformations/Text_Plain_PreApPend.php
Maurício Meneghini Fauth f03cc59c8c
Add native types to TransformationsInterface methods
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-26 15:48:08 -03:00

34 lines
734 B
PHP

<?php
/**
* Text Plain Prepend/Append Transformations plugin for phpMyAdmin
*/
declare(strict_types=1);
namespace PhpMyAdmin\Plugins\Transformations;
use PhpMyAdmin\Plugins\Transformations\Abs\PreApPendTransformationsPlugin;
/**
* Handles the prepend and/or append transformation for text plain.
* Has two options: the text to be prepended and appended (if any, default '')
*/
class Text_Plain_PreApPend extends PreApPendTransformationsPlugin
{
/**
* 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';
}
}