You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The usage of the old Steam alias and SteamApi facade is a bit weird and confusing to use.
Better to explicitly init the client you want to use, e.g.
use Syntax\SteamApi\Steam\App;
$client = new App();
$appList = $client->getAppList();
Or perhaps create a new static class to combine them, e.g.
use use Syntax\SteamApi\Steam;
$appList = Steam::app()->getAppList();
On the surface, this is how the current usage appears to work, but there is some Laravel trickery going on the make it work like that, rather than being a simple class with static methods.
The text was updated successfully, but these errors were encountered:
The usage of the old
Steam
alias andSteamApi
facade is a bit weird and confusing to use.Better to explicitly init the client you want to use, e.g.
Or perhaps create a new static class to combine them, e.g.
On the surface, this is how the current usage appears to work, but there is some Laravel trickery going on the make it work like that, rather than being a simple class with static methods.
The text was updated successfully, but these errors were encountered: