]> source.dussan.org Git - nextcloud-server.git/commitdiff
Extend migrator interface
authorChristopher Ng <chrng8@gmail.com>
Fri, 8 Apr 2022 18:33:42 +0000 (18:33 +0000)
committerChristopher Ng <chrng8@gmail.com>
Fri, 8 Apr 2022 19:31:22 +0000 (19:31 +0000)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
lib/public/UserMigration/IMigrator.php

index c97fb3c0bcad93852f29049b2d890a3642af3338..7c89e041f3437093d759629706ead616256d232c 100644 (file)
@@ -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
         *