From 2273ddc8738ac39c6b6073d898631fba82d23a9f Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Fri, 8 Apr 2022 18:33:42 +0000 Subject: [PATCH] Extend migrator interface Signed-off-by: Christopher Ng --- lib/public/UserMigration/IMigrator.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 * -- 2.39.5