X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=cbc353161cef34017a4f10a796982104d6ba5e2e;hb=1995feff619c23de0e0f34248d37a49e90862a88;hp=0bfaacf89a064c348c0987401842bc24e99757f8;hpb=98803064eb6c15adeebf8a0bc28b686240fca693;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 0bfaacf89a..cbc353161c 100644 --- a/src/DI.php +++ b/src/DI.php @@ -319,6 +319,14 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\ScheduledStatus::class); } + /** + * @return Factory\Api\Mastodon\Subscription + */ + public static function mstdnSubscription() + { + return self::$dice->create(Factory\Api\Mastodon\Subscription::class); + } + /** * @return Factory\Api\Mastodon\ListEntity */ @@ -379,11 +387,19 @@ abstract class DI } /** - * @return Model\Storage\IStorage + * @return Model\Storage\IWritableStorage */ public static function storage() { - return self::$dice->create(Model\Storage\IStorage::class); + return self::$dice->create(Model\Storage\IWritableStorage::class); + } + + /** + * @return Model\Log\ParsedLogIterator + */ + public static function parsedLogIterator() + { + return self::$dice->create(Model\Log\ParsedLogIterator::class); } //