Improved cards handling, simplified Bearer handling

This commit is contained in:
Michael 2021-05-11 19:15:05 +00:00
parent 7d8c152aaf
commit bade0a2345
7 changed files with 120 additions and 29 deletions

View file

@ -255,6 +255,14 @@ abstract class DI
return self::$dice->create(Factory\Api\Mastodon\Attachment::class);
}
/**
* @return Factory\Api\Mastodon\Card
*/
public static function mstdnCard()
{
return self::$dice->create(Factory\Api\Mastodon\Card::class);
}
/**
* @return Factory\Api\Mastodon\Emoji
*/