]> git.mxchange.org Git - friendica.git/blobdiff - src/DI.php
Updated messages.po
[friendica.git] / src / DI.php
index ea7310feedca3805eacd15e9dcb4577f2b3a8216..28df28a3258a864f087fd9a28c86dd118c15410b 100644 (file)
@@ -435,27 +435,39 @@ abstract class DI
        }
 
        /**
-        * @return Repository\Introduction
+        * @return Contact\Introduction\Depository\Introduction
         */
        public static function intro()
        {
-               return self::$dice->create(Repository\Introduction::class);
+               return self::$dice->create(Contact\Introduction\Depository\Introduction::class);
        }
 
        /**
-        * @return Repository\PermissionSet
+        * @return Contact\Introduction\Factory\Introduction
         */
-       public static function permissionSet()
+       public static function introFactory()
        {
-               return self::$dice->create(Repository\PermissionSet::class);
+               return self::$dice->create(Contact\Introduction\Factory\Introduction::class);
        }
 
-       /**
-        * @return Repository\ProfileField
-        */
-       public static function profileField()
+       public static function permissionSet(): Security\PermissionSet\Depository\PermissionSet
+       {
+               return self::$dice->create(Security\PermissionSet\Depository\PermissionSet::class);
+       }
+
+       public static function permissionSetFactory(): Security\PermissionSet\Factory\PermissionSet
+       {
+               return self::$dice->create(Security\PermissionSet\Factory\PermissionSet::class);
+       }
+
+       public static function profileField(): Profile\ProfileField\Depository\ProfileField
+       {
+               return self::$dice->create(Profile\ProfileField\Depository\ProfileField::class);
+       }
+
+       public static function profileFieldFactory(): Profile\ProfileField\Factory\ProfileField
        {
-               return self::$dice->create(Repository\ProfileField::class);
+               return self::$dice->create(Profile\ProfileField\Factory\ProfileField::class);
        }
 
        public static function notification(): Navigation\Notifications\Depository\Notification