public static function getGuardsProviders($guards)
    {
        return collect($guards)->mapWithKeys(function ($guard) {
            return [GuardChecker::defaultGuardProvider($guard) => $guard];
        });
    }
public static function getGuardsProviders($guards)
    {
        return collect($guards)->mapWithKeys(function ($guard) {
            return [GuardChecker::defaultGuardProvider($guard) => $guard];
        });
    }
public static function getGuardsProviders ( $ guards ) { return collect ( $ guards ) -> mapWithKeys ( function ( $ guard ) { return [ GuardChecker :: defaultGuardProvider ( $ guard ) => $ guard ] ; } ) ; }
Get guards provider returning a assoc array with provider on key and
guard on value.

@param  array $guards
@return Collection
Get guards provider returning a assoc array with provider on key and guard on value .