Please how do you perform this code $user->roles()->sync([1 => ['years' => true,'levels' => true], 2, 3]); using a for loop or for each
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!