X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=39efe2a97bfd35feb41fd1e6be02368ca32a58e2;hb=e567e49df6f53e839a1a03eb37efb7c9db1557c8;hp=1d092439f2d9560902b336f088285accddaeb794;hpb=34f4aedb87e403ef276fa780bcaaeb280336c0f4;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 1d092439f2..39efe2a97b 100644 --- a/src/DI.php +++ b/src/DI.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica; @@ -236,6 +255,14 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\Emoji::class); } + /** + * @return Factory\Api\Mastodon\Field + */ + public static function mstdnField() + { + return self::$dice->create(Factory\Api\Mastodon\Field::class); + } + /** * @return Factory\Api\Mastodon\FollowRequest */