protected function getAuthorizationRoles(AuthorizationContract $acl)
    {
        return collect($acl->roles()->get())->reject(function ($role) {
            return in_array($role, ['guest']);
        })->map(function ($slug) {
            $name = Str::humanize($slug);

            return compact('slug', 'name');
        });
    }
protected function getAuthorizationRoles(AuthorizationContract $acl)
    {
        return collect($acl->roles()->get())->reject(function ($role) {
            return in_array($role, ['guest']);
        })->map(function ($slug) {
            $name = Str::humanize($slug);

            return compact('slug', 'name');
        });
    }
protected function getAuthorizationRoles ( AuthorizationContract $ acl ) { return collect ( $ acl -> roles ( ) -> get ( ) ) -> reject ( function ( $ role ) { return in_array ( $ role , [ 'guest' ] ) ; } ) -> map ( function ( $ slug ) { $ name = Str :: humanize ( $ slug ) ; return compact ( 'slug' , 'name' ) ; } ) ; }
Get authorization roles.

@param  \Orchestra\Contracts\Authorization\Authorization  $acl

@return \Illuminate\Support\Collection
Get authorization roles .