src/Models/SocialFacebookAccount.php 1 location
|
@@ 9-17 (lines=9) @@
|
6 |
|
|
7 |
|
use Illuminate\Database\Eloquent\Model; |
8 |
|
|
9 |
|
class SocialFacebookAccount extends Model |
10 |
|
{ |
11 |
|
protected $fillable = ['user_id', 'provider_user_id', 'provider']; |
12 |
|
|
13 |
|
public function user() |
14 |
|
{ |
15 |
|
return $this->belongsTo(User::class); |
16 |
|
} |
17 |
|
} |
18 |
|
|
src/Models/SocialTwitterAccount.php 1 location
|
@@ 9-17 (lines=9) @@
|
6 |
|
|
7 |
|
use Illuminate\Database\Eloquent\Model; |
8 |
|
|
9 |
|
class SocialTwitterAccount extends Model |
10 |
|
{ |
11 |
|
protected $fillable = ['user_id', 'provider_user_id', 'provider']; |
12 |
|
|
13 |
|
public function user() |
14 |
|
{ |
15 |
|
return $this->belongsTo(User::class); |
16 |
|
} |
17 |
|
} |
18 |
|
|