$users->groupBy($field, $caseInsensitive = true)

Groups users in the collection by a given field.

  • return ($users)

Is something missing or incorrect? Edit this page on Github…