/** * This checks the cache for an existing inventory. If it exists it is * returned. Otherwise a new inventory is created. * * @param string $steamId The 64bit Steam ID or vanity URL of the user * @param bool $fetchNow Whether the data should be fetched now * @param bool $bypassCache Whether the cache should be bypassed * @return DotA2BetaInventory The inventory created from the given options */ public static function createInventory($steamId, $fetchNow = true, $bypassCache = false) { return parent::create(self::APP_ID, $steamId, $fetchNow, $bypassCache); }