So I have chosen Sentinel as an ACL for my CMS. And I'm getting to the point where I need to assign roles to users. To do that I need to get a list of all available roles. But when requesting:
Role::all()
from my model (which extends the EloquentRole) I only get id's. While an id is a good start I'm going to need more. Preferably:
Role::pluck('id', 'slug', 'name')
I have searched high and low for a way to get this. But neither the documentation nor the world seem to utter a word on this.
Any tips would be greatly appreciated!