laravel-liberu /
genealogy
| 1 | <?php |
||
| 2 | |||
| 3 | namespace App\Models; |
||
| 4 | |||
| 5 | use App\Traits\TenantConnectionResolver; |
||
| 6 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
||
| 7 | |||
| 8 | class Avatar extends \LaravelEnso\Avatars\Models\Avatar |
||
| 9 | { |
||
| 10 | use HasFactory; |
||
| 11 | use TenantConnectionResolver; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 12 | |||
| 13 | public function user() |
||
| 14 | { |
||
| 15 | return $this->belongsTo(User::class); |
||
| 16 | } |
||
| 17 | } |
||
| 18 |