Ais-hierarchical-menu Example with laravel model and Eloquent: Relationships

#1

Hello, someone of you knows a good link by a Laravel Eloquent example including migration file and relations is described.
Thank you, my problem is described below.

Laravel in combination with
ais-hierarchical-menu
over 2 levels.
Show as example in ais-hierarchical-menu

Country

  • District

I do not know how I do that in the model in the method
toSearchableArray ()