Search

Showing 7 of 1,975 result(s)

/blog/2016/12/07/laravel-artisan-queue-command-the-queuelisten-command

The queue:listen command is used to listen for and process jobs as they are added to the job queue. The command defines numerous parameters and options that can be used to customize how the queue listener interacts with and behaves under different...

/blog/2017/07/23/the-statamic-addon-roundup

…as asked on Twitter about the custom Statamic add-ons that power the Stillat site; here we go! I will discuss the reason for each add-on at a high level, even if they are incredibly site-specific. In the article Rebuilding Stillat.com I talked...

/blog/2016/11/20/laravel-array-helper-function-array_sort

sort($array, callable $callback) The sort helper method will allow you to sort the given $array based on some condition returned by the $callback . The method works by iterating over all the values in the $array and passing the values it finds...

/blog/2018/04/22/laravel-5-collections-execute-a-callback-on-the-collection-instance-while-returning-the-original-collection-instance-with-tap

The tap method will allow you supply a callback that will receive a copy of the current collection instance. The user supplied function will not modify the original collection, but will return a reference the original collection.In the following...

/blog/2018/04/22/laravel-5-collections-mapping-collection-elements-and-reducing-to-a-single-dimension-with-flatmap

The flatMap method is used in the same way as the map method but will collapse the resulting collection. The flatMap method does not modify the original collection; it will return a new, modified collection its return result.

/site-essentials-for-statamic/v1/antlers-tags/se-capture

The se_capture tag can be used to store the results of a template section, and output it later as a string. This is particularly helpful if you want to reuse the results of a partial, or navigation menu in multiple places without having to render...

/blog/2016/11/30/laravel-collection-public-api-combine

combine($values) The combine method is used to combine the keys of the collection the method was called on with the values of another collection or array (supplied as an argument for $values ). This method is equivalent to using PHP's...