Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TransformationsInterface.php « Plugins « classes « libraries - github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 21e4bad6c8b61932039012b4ae7939910c6cc806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?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;
}