From 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 9 Jan 2020 10:55:03 +0100 Subject: phpmyadmin working --- .../libraries/classes/Plugins/UploadInterface.php | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/UploadInterface.php (limited to 'srcs/phpmyadmin/libraries/classes/Plugins/UploadInterface.php') diff --git a/srcs/phpmyadmin/libraries/classes/Plugins/UploadInterface.php b/srcs/phpmyadmin/libraries/classes/Plugins/UploadInterface.php new file mode 100644 index 0000000..3839aab --- /dev/null +++ b/srcs/phpmyadmin/libraries/classes/Plugins/UploadInterface.php @@ -0,0 +1,35 @@ +upload plugins + * + * @package PhpMyAdmin + */ +declare(strict_types=1); + +namespace PhpMyAdmin\Plugins; + +/** + * Provides a common interface that will have to implemented by all of the + * import->upload plugins. + * + * @package PhpMyAdmin + */ +interface UploadInterface +{ + /** + * Gets the specific upload ID Key + * + * @return string ID Key + */ + public static function getIdKey(); + + /** + * Returns upload status. + * + * @param string $id upload id + * + * @return array|null + */ + public static function getUploadStatus($id); +} -- cgit