'array', ]; /** * The tags that belong to the bookmark. * * @return BelongsToMany */ public function tags() { return $this->belongsToMany('App\Models\Tag'); } protected function longurl(): Attribute { return Attribute::get( get: fn () => config('app.url') . '/bookmarks/' . $this->id, ); } }