mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
298 B
PHTML
17 lines
298 B
PHTML
|
8 years ago
|
<?php
|
||
|
|
|
||
|
4 weeks ago
|
namespace App\Models;
|
||
|
8 years ago
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
4 weeks ago
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||
|
8 years ago
|
|
||
|
|
class OauthClient extends Model
|
||
|
|
{
|
||
|
9 months ago
|
protected $table = 'oauth_clients';
|
||
|
8 years ago
|
|
||
|
4 weeks ago
|
public function user(): BelongsTo
|
||
|
9 months ago
|
{
|
||
|
|
return $this->belongsTo(User::class);
|
||
|
|
}
|
||
|
|
}
|