diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-04-08 18:33:42 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-04-08 19:31:22 +0000 |
commit | 2273ddc8738ac39c6b6073d898631fba82d23a9f (patch) | |
tree | 798fc26ee0d778bd8c6cdcf6ec275075de1938bf /lib | |
parent | 5eea073824626f7143dceb6216a397ce891ae529 (diff) | |
download | nextcloud-server-2273ddc8738ac39c6b6073d898631fba82d23a9f.tar.gz nextcloud-server-2273ddc8738ac39c6b6073d898631fba82d23a9f.zip |
Extend migrator interface
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/UserMigration/IMigrator.php | 21 |
1 files changed, 21 insertions, 0 deletions
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 @@ -60,6 +60,27 @@ interface IMigrator { ): 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 * * @since 24.0.0 |