"Fossies" - the Fresh Open Source Software Archive

Member "phpMyAdmin-5.1.0-all-languages/libraries/classes/Plugins/TransformationsInterface.php" (24 Feb 2021, 791 Bytes) of package /linux/www/phpMyAdmin-5.1.0-all-languages.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "TransformationsInterface.php": 5.0.4-english_vs_5.1.0-english.

    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 }