private function getAbilities($role)
    {
        $abilities = [];
        foreach (config('auth.acl') as $ability => $roles) {
            if (in_array($role, $roles)) {
                $abilities[] = $ability;
            }
        }

        return $abilities;
    }
private function getAbilities($role)
    {
        $abilities = [];
        foreach (config('auth.acl') as $ability => $roles) {
            if (in_array($role, $roles)) {
                $abilities[] = $ability;
            }
        }

        return $abilities;
    }
private function getAbilities ( $ role ) { $ abilities = [ ] ; foreach ( config ( 'auth.acl' ) as $ ability => $ roles ) { if ( in_array ( $ role , $ roles ) ) { $ abilities [ ] = $ ability ; } } return $ abilities ; }
Read the abilities from the ACL for the given role.

@param $role
@return array
Read the abilities from the ACL for the given role .