Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
LinkedSocialAccount | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
user | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace App\Http\Models\Auth; |
4 | |
5 | use App\Http\Models\Moloquent; |
6 | |
7 | class LinkedSocialAccount extends Moloquent |
8 | { |
9 | // Default Create Linked in Social accounts with the user data in separate table. |
10 | // The LinkedIn Client Checks the same table for login by default. |
11 | protected $table = 'linked_social_accounts'; |
12 | |
13 | protected $fillable = [ |
14 | 'provider_name', 'provider_id', 'email', |
15 | ]; |
16 | |
17 | public function user() |
18 | { |
19 | return $this->belongsTo(User::class); |
20 | } |
21 | } |