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.
19 lines
322 B
PHTML
19 lines
322 B
PHTML
|
7 years ago
|
<?php
|
||
|
|
|
||
|
4 weeks ago
|
namespace App\Models;
|
||
|
7 years ago
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
4 weeks ago
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||
|
7 years ago
|
|
||
|
|
class HashtagFollow extends Model
|
||
|
|
{
|
||
|
4 weeks ago
|
protected $guarded = [];
|
||
|
7 years ago
|
|
||
|
2 years ago
|
const MAX_LIMIT = 25;
|
||
|
3 years ago
|
|
||
|
4 weeks ago
|
public function hashtag(): BelongsTo
|
||
|
7 years ago
|
{
|
||
|
9 months ago
|
return $this->belongsTo(Hashtag::class);
|
||
|
7 years ago
|
}
|
||
|
7 years ago
|
}
|