Sur Unique

The fatalité method sorts the collection. The sorted collection keeps the neuf array keys, so in the following example we will règles the values method to reset the keys to consecutively numbered indexes:The returned slice will preserve keys by default. If you do not wish to preserve the nouveau keys, you can use the values method to reindex them

read more