'integer' ]; public function sluggable(): array { return [ 'slug' => [ 'source' => 'name', ], ]; } public function subactivities(): BelongsToMany { return $this->belongsToMany(Subactivity::class); } }