1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-23 18:29:15 +03:00
Files
phpmyadmin/libraries/classes/Plugins/Plugin.php
Maurício Meneghini Fauth 86798ec45e Refactor PhpMyAdmin\Plugins::getChoice method
Extracts the getDefault method from the getChoice method and adds a
getName method to the Plugin interface.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-27 13:38:01 -03:00

20 lines
343 B
PHP

<?php
declare(strict_types=1);
namespace PhpMyAdmin\Plugins;
use PhpMyAdmin\Properties\Plugins\PluginPropertyItem;
interface Plugin
{
/**
* @psalm-return non-empty-lowercase-string
*/
public function getName(): string;
public function getProperties(): PluginPropertyItem;
public function isAvailable(): bool;
}