X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=37091a5ab82d5d439f525279975ef054fa508860;hb=585d283ff9365d8c9db5c6ad4a023781404e9f37;hp=987cc4fbed4efe8d24da6af9af9bcedb09acab64;hpb=a696b7f427a3109b47b598624cfd3e015f7add0f;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 987cc4fbed..37091a5ab8 100644 --- a/src/DI.php +++ b/src/DI.php @@ -239,6 +239,14 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\Account::class); } + /** + * @return Factory\Api\Mastodon\Application + */ + public static function mstdnApplication() + { + return self::$dice->create(Factory\Api\Mastodon\Application::class); + } + /** * @return Factory\Api\Mastodon\Attachment */