API: We can now display polls
This commit is contained in:
parent
ee05bd91a3
commit
9b646dad97
10 changed files with 245 additions and 7 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue