mirror of
https://github.com/friendica/friendica
synced 2025-04-27 00:30:10 +00:00
More data for the Mastodon status class
This commit is contained in:
parent
bd49fe0f99
commit
a643888aeb
9 changed files with 426 additions and 15 deletions
16
src/DI.php
16
src/DI.php
|
@ -279,6 +279,22 @@ abstract class DI
|
|||
return self::$dice->create(Factory\Api\Mastodon\Status::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Factory\Api\Mastodon\Mention
|
||||
*/
|
||||
public static function mstdnMention()
|
||||
{
|
||||
return self::$dice->create(Factory\Api\Mastodon\Mention::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Factory\Api\Mastodon\Tag
|
||||
*/
|
||||
public static function mstdnTag()
|
||||
{
|
||||
return self::$dice->create(Factory\Api\Mastodon\Tag::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Factory\Api\Twitter\User
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue