mirror of
https://github.com/friendica/friendica
synced 2025-05-06 11:44:10 +02:00
Introduce Mastodon entity factories and API\Entity
This commit is contained in:
parent
c748a82e8f
commit
5a1abb8c7d
16 changed files with 411 additions and 224 deletions
|
@ -28,6 +28,9 @@ use Psr\Log\LoggerInterface;
|
|||
* @method static Core\Process process()
|
||||
* @method static Core\Session\ISession session()
|
||||
* @method static Database\Database dba()
|
||||
* @method static Factory\Mastodon\Account mstdnAccount()
|
||||
* @method static Factory\Mastodon\FollowRequest mstdnFollowRequest()
|
||||
* @method static Factory\Mastodon\Relationship mstdnRelationship()
|
||||
* @method static Model\User\Cookie cookie()
|
||||
* @method static Model\Notify notify()
|
||||
* @method static Model\Introduction intro()
|
||||
|
@ -62,6 +65,9 @@ abstract class DI
|
|||
'process' => Core\Process::class,
|
||||
'session' => Core\Session\ISession::class,
|
||||
'dba' => Database\Database::class,
|
||||
'mstdnAccount' => Factory\Mastodon\Account::class,
|
||||
'mstdnFollowRequest' => Factory\Mastodon\FollowRequest::class,
|
||||
'mstdnRelationship' => Factory\Mastodon\Relationship::class,
|
||||
'cookie' => Model\User\Cookie::class,
|
||||
'notify' => Model\Notify::class,
|
||||
'intro' => Model\Introduction::class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue