1 <?php 2 /** 3 * Interface for the transformations plugins 4 */ 5 6 declare(strict_types=1); 7 8 namespace PhpMyAdmin\Plugins; 9 10 /** 11 * Provides a common interface that will have to be implemented by all of the 12 * transformations plugins. 13 */ 14 interface TransformationsInterface 15 { 16 /** 17 * Gets the transformation description 18 * 19 * @return string 20 */ 21 public static function getInfo(); 22 23 /** 24 * Gets the specific MIME type 25 * 26 * @return string 27 */ 28 public static function getMIMEType(); 29 30 /** 31 * Gets the specific MIME subtype 32 * 33 * @return string 34 */ 35 public static function getMIMESubtype(); 36 37 /** 38 * Gets the transformation name of the specific plugin 39 * 40 * @return string 41 */ 42 public static function getName(); 43 }