Initial commit
This commit is contained in:
31
pma/libraries/classes/Plugins/UploadInterface.php
Normal file
31
pma/libraries/classes/Plugins/UploadInterface.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* Interface for the import->upload plugins
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace PhpMyAdmin\Plugins;
|
||||
|
||||
/**
|
||||
* Provides a common interface that will have to implemented by all of the
|
||||
* import->upload plugins.
|
||||
*/
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user