$platform
$platform : object
Class SmashcastAccount.
Gets and manage account from Smashcast, interact with database
saveToDB(\Vigas\StreamingPlatforms\Model\PDO $db, string $username, integer $user_id) : array|false
Saves Smashcast user informations into database
| \Vigas\StreamingPlatforms\Model\PDO | $db | Database connection object |
| string | $username | Streaming platform username |
| integer | $user_id | The Vigas user id |
Returns Smashcast username and token if informations have been saved, false otherwise