You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
/** * Sets new indexes for every element using values from passed column name * * @param array $array * @param mixed $columnName * @return array */function array_reindex(array$array, $columnName): array
About
A simple function I often use in methods returning records from database with "id" columns to make access easier in future