First commit
This commit is contained in:
22
app/User.php
Normal file
22
app/User.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
|
||||
class User extends Authenticatable
|
||||
{
|
||||
/**
|
||||
* Get the access tokens of the user.
|
||||
*/
|
||||
public function accessTokens() {
|
||||
return $this->hasMany("App\UserAccessToken");
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all configured twitch webhooks
|
||||
*/
|
||||
public function twitchWebhooks() {
|
||||
return $this->hasMany("App\TwitchWebhook");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user