Laravel Collection Public API: push
Learn how to use the push method in PHP to add an item to the end of a collection. See code examples and understand the return value of this method. Be aware that the push method does not allow setting the key of the item being added to the collection.