Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

eloquent relationships

$roles = AppUser::find(1)->roles()->orderBy('name')->get();
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #eloquent #relationships
ADD COMMENT
Topic
Name
8+6 =