phpmyadmin/libraries/classes/Plugins/TransformationsInterface.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

36 lines
707 B
PHP

<?php
/**
* Interface for the transformations plugins
*/
declare(strict_types=1);
namespace PhpMyAdmin\Plugins;
/**
* Provides a common interface that will have to be implemented by all of the
* transformations plugins.
*/
interface TransformationsInterface
{
/**
* Gets the transformation description
*/
public static function getInfo(): string;
/**
* Gets the specific MIME type
*/
public static function getMIMEType(): string;
/**
* Gets the specific MIME subtype
*/
public static function getMIMESubtype(): string;
/**
* Gets the transformation name of the specific plugin
*/
public static function getName(): string;
}