The mapWithKeys method iterates through the collection and défilé each value to the given callback. The callback should rentrée année associative array containing a single key / value pair:The returned slice will preserve keys by default. If you ut not wish to preserve the neuf keys, you can use the values method to reindex them.The contains me