return self::$dice->create(Factory\Api\Mastodon\Relationship::class);
}
+ /**
+ * @return Factory\Api\Twitter\User
+ */
+ public static function twitterUser()
+ {
+ return self::$dice->create(Factory\Api\Twitter\User::class);
+ }
+
/**
* @return Factory\Notification\Notification
*/
return self::$dice->create(Model\Storage\IStorage::class);
}
- /** @return Model\UserService */
- public static function userService()
+ //
+ // "Network" namespace
+ //
+
+ /**
+ * @return Network\IHTTPRequest
+ */
+ public static function httpRequest()
{
- return self::$dice->create(Model\UserService::class);
+ return self::$dice->create(Network\IHTTPRequest::class);
}
//
return self::$dice->create(Util\ACLFormatter::class);
}
+ /**
+ * @return string
+ */
+ public static function basePath()
+ {
+ return self::$dice->create('$basepath');
+ }
+
/**
* @return Util\DateTimeFormat
*/