X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=e34df7b669382deebb3804f8228da7ecc8b42af9;hb=a662245c744f4d2faa1b533977f7d21b4de6a724;hp=835f1ffed72619e8412a5a32be08c94527c56475;hpb=4329f5381b73a90ba1b3649f7fa8f1576ed0e749;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 */