<?php
/**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
return self::$dice->create(App\Mode::class);
}
- /**
- * @return App\Module
- */
- public static function module()
- {
- return self::$dice->create(App\Module::class);
- }
-
/**
* @return App\Page
*/
return self::$dice->create(Factory\Api\Mastodon\Notification::class);
}
+ /**
+ * @return Factory\Api\Twitter\Status
+ */
+ public static function twitterStatus()
+ {
+ return self::$dice->create(Factory\Api\Twitter\Status::class);
+ }
+
/**
* @return Factory\Api\Twitter\User
*/
return self::$dice->create(Model\Log\ParsedLogIterator::class);
}
+ //
+ // "Module" namespace
+ //
+
+ public static function apiResponse(): Module\Api\ApiResponse
+ {
+ return self::$dice->create(Module\Api\ApiResponse::class);
+ }
+
//
// "Network" namespace
//