mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Extend migrator interface
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
5eea073824
commit
2273ddc873
1 changed files with 21 additions and 0 deletions
|
|
@ -59,6 +59,27 @@ interface IMigrator {
|
|||
OutputInterface $output
|
||||
): void;
|
||||
|
||||
/**
|
||||
* Returns the unique ID
|
||||
*
|
||||
* @since 24.0.0
|
||||
*/
|
||||
public function getId(): string;
|
||||
|
||||
/**
|
||||
* Returns the display name
|
||||
*
|
||||
* @since 24.0.0
|
||||
*/
|
||||
public function getDisplayName(): string;
|
||||
|
||||
/**
|
||||
* Returns the description
|
||||
*
|
||||
* @since 24.0.0
|
||||
*/
|
||||
public function getDescription(): string;
|
||||
|
||||
/**
|
||||
* Returns the version of the export format for this migrator
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue