X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=6461059a8392a4de3c86fc8dd36bf4b8c46b2934;hb=61aa4efa8941659dee5c7dc4986ebc99922ae2b3;hp=06397d0e235970bf97244633352b7b27d700106f;hpb=42d246ef7380df3dd63531dbc2bdb70b324e9adf;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 06397d0e23..6461059a83 100644 --- a/src/DI.php +++ b/src/DI.php @@ -255,6 +255,14 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\Emoji::class); } + /** + * @return Factory\Api\Mastodon\Error + */ + public static function mstdnError() + { + return self::$dice->create(Factory\Api\Mastodon\Error::class); + } + /** * @return Factory\Api\Mastodon\Field */