morphedByMany(Food::class, 'taggable'); } /** * Get all recipes related to this tag. */ public function recipes(): MorphToMany { return $this->morphedByMany(Recipe::class, 'taggable'); } }