Laravel 5: Representing Multi-Dimensional Arrays in Dot Notation With dot
The dot helper method will take a multi-dimensional array and return a new associative array where the keys are built from all the nested keys, separated with the . character.
Showing 10 of 1,322 results.
The dot helper method will take a multi-dimensional array and return a new associative array where the keys are built from all the nested keys, separated with the . character.
The push method is the logical opposite of the prepend method and will push an item onto the end of the collection. The push method returns a reference to the original collection instance. The push method modifies the collection instance it was...
Social Media Image Kit creates images by rendering Antlers or Blade templates and converting the results to an image. By default, templates must be stored within the following folder: 1 resources/views/social-media-image-kit/ A very basic template...
The documentation search provider utilizes Antlers templates to provide data to the search indexer. Doing so dramatically simplifies the process of splitting entries into documents based on headings, especially for more complicated fieldtypes like...
…method will add the $items value to a copy of the existing collection. If there are key collisions between the collection instance and the provided $items , the elements from the collection instance will be used instead. The union method does not...
The today helper function is similar to the now helper function in that it returns a Carbon for the current date, however, the difference is that the today helper function only returns the date component; the time component is set to 00:00:00 ....
Any words, or word endings, in the following table will not be affected by the plural method. This is either because the resulting word is already plural, or because there is no inflection available. Word endings are denoted by the prefix * :...
The unique method can be used to get all the unique items in the collection. It accepts an optional $key argument which can be used to further restrict which items are returned. The unique method returns a new instance of Collection with the items...
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or...
…ptions, you may publish the configuration file. To do this, run the following command from the root of your project: 1 php artisan vendor:publish --tag = bladeThe Blade parser is an extensive library with numerous APIs and utilities to explore....