You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
791 B
44 lines
791 B
2 years ago
|
<?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
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public static function getInfo();
|
||
|
|
||
|
/**
|
||
|
* Gets the specific MIME type
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public static function getMIMEType();
|
||
|
|
||
|
/**
|
||
|
* Gets the specific MIME subtype
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public static function getMIMESubtype();
|
||
|
|
||
|
/**
|
||
|
* Gets the transformation name of the specific plugin
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public static function getName();
|
||
|
}
|