From: Christopher Ng Date: Fri, 8 Apr 2022 18:33:42 +0000 (+0000) Subject: Extend migrator interface X-Git-Tag: v24.0.0rc1~33^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2273ddc8738ac39c6b6073d898631fba82d23a9f;p=nextcloud-server.git Extend migrator interface Signed-off-by: Christopher Ng --- diff --git a/lib/public/UserMigration/IMigrator.php b/lib/public/UserMigration/IMigrator.php index c97fb3c0bca..7c89e041f34 100644 --- a/lib/public/UserMigration/IMigrator.php +++ b/lib/public/UserMigration/IMigrator.php @@ -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 *