mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:50:11 +00:00
API: The legacy API finally moved
This commit is contained in:
parent
8abf1dccf0
commit
95f085b7ac
22 changed files with 1161 additions and 1391 deletions
16
src/DI.php
16
src/DI.php
|
@ -270,6 +270,22 @@ abstract class DI
|
|||
return self::$dice->create(Factory\Api\Friendica\Activities::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Factory\Api\Friendica\Group
|
||||
*/
|
||||
public static function friendicaGroup()
|
||||
{
|
||||
return self::$dice->create(Factory\Api\Friendica\Group::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Factory\Api\Friendica\Photo
|
||||
*/
|
||||
public static function friendicaPhoto()
|
||||
{
|
||||
return self::$dice->create(Factory\Api\Friendica\Photo::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Factory\Api\Mastodon\Account
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue