aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/PrivacyObject.php
diff options
context:
space:
mode:
authorMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2024-06-18 13:18:06 +0000
committerMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2024-06-18 13:18:06 +0000
commit33fd1358507b4a5abb3dcebe78d407d0567717c1 (patch)
tree6bd8f6959da4c3fc1b8907c0bbc28eb9e10d4a5a /lib/classes/PrivacyObject.php
parent42d46671c0309bddb71a91bbfdc5f2fa2e44384e (diff)
Deprecate `StudipAutoloader` and use composer's `autoload`
Closes #4282 Merge request studip/studip!3099
Diffstat (limited to 'lib/classes/PrivacyObject.php')
-rw-r--r--lib/classes/PrivacyObject.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/classes/PrivacyObject.php b/lib/classes/PrivacyObject.php
new file mode 100644
index 0000000..8129634
--- /dev/null
+++ b/lib/classes/PrivacyObject.php
@@ -0,0 +1,11 @@
+<?php
+interface PrivacyObject
+{
+ /**
+ * Export available data of a given user into a storage object
+ * (an instance of the StoredUserData class) for that user.
+ *
+ * @param StoredUserData $storage object to store data into
+ */
+ public static function exportUserData(StoredUserData $storage);
+}