Search

Showing 7 of 1,975 result(s)

/blog/2017/07/23/rebuilding-stillat#content-comment-systems-and-statamic

…feel like they are part of the site (even if I don't directly create them), and I learn things from them every now and then; I wanted them to be part of the new site. As stated in a previous section, I wanted the main features of the site to work...

/blog/2018/04/11/laravel-5-array-helper-functions

…nd manipulating array data structures. Laravel's array functions offer additional functionality on top of PHP's built in array functions. The helper functions in this section are located within the "Illuminate\Support\Arr" static class. There are...

/blog/2018/04/22/laravel-5-collections-static-api-ensure-a-value-is-a-collection-with-wrap

The wrap static method is similar to the make static method, except that it will create a collection from any value supplied to it. This method is particularly helpful when writing methods or functions where the a collection instance is...

/blog/2016/12/07/laravel-task-scheduler-an-introduction#content-date-methods

Method Description timezone($timezone) Sets the timezone the date should be evaluated on. days($days) Sets the days of the week the command should run on. Can either specify each day as its own argument or supply an array of days. daily Schedules...

/blog/2018/04/22/laravel-5-collections-executing-a-function-on-all-collection-elements-with-each#content-signature

The following examples are trivial use cases of the each method in that we iterate each element of the collection and echo the element: The each method does not explicitly allow the modification of a collection's items, and simply returns a...

/site-essentials-for-statamic/v1/manifest-configuration

…--------------------------- 7 | Webmanifest Public Path Configuration 8 |-------------------------------------------------------------------------- 9 | 10 | Controls the public path where the generated webmanifest file 11 | will be saved. This...

/blog/2016/11/29/laravel-collection-public-api-map

map(callable $callback) The map method applies a given $callback to each item in the collection. The $callback can modify the item which will be added to a new collection. The map method does not modify the original collection, but returns a new...