X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=e34df7b669382deebb3804f8228da7ecc8b42af9;hb=341d8860d15cd2224a3595dfa3c553b03658ef60;hp=835f1ffed72619e8412a5a32be08c94527c56475;hpb=1fe756b5b6f06734f1d687e08ed9de8002e771af;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 835f1ffed7..e34df7b669 100644 --- a/src/DI.php +++ b/src/DI.php @@ -326,6 +326,14 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\FollowRequest::class); } + /** + * @return Factory\Api\Mastodon\Poll + */ + public static function mstdnPoll() + { + return self::$dice->create(Factory\Api\Mastodon\Poll::class); + } + /** * @return Factory\Api\Mastodon\Relationship */