'boolean', 'is_filterable' => 'boolean', ]; public function sluggable(): array { return [ 'slug' => [ 'source' => 'name', ], ]; } /** * @return BelongsToMany */ public function activities(): BelongsToMany { return $this->belongsToMany(Activity::class); } }