X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=9ed0c5b24d353f5ed5c1c124c31eae1ebce86cd5;hb=8ec2b21a1471f0a3c0afdbe56fb525c1b4b06efc;hp=c89315c0ec98897e532d5eac0837d163eceae43d;hpb=ebb96faedd20e08927a6daefb9c493ff5f5f4a18;p=friendica.git diff --git a/src/DI.php b/src/DI.php index c89315c0ec..9ed0c5b24d 100644 --- a/src/DI.php +++ b/src/DI.php @@ -279,6 +279,14 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\Relationship::class); } + /** + * @return Factory\Api\Twitter\User + */ + public static function twitterUser() + { + return self::$dice->create(Factory\Api\Twitter\User::class); + } + /** * @return Factory\Notification\Notification */