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.
pixelfed/app/Models/HashtagFollow.php

19 lines
322 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class HashtagFollow extends Model
{
protected $guarded = [];
const MAX_LIMIT = 25;
public function hashtag(): BelongsTo
{
return $this->belongsTo(Hashtag::class);
}
}