Search

Showing 7 of 1,975 result(s)

/tidal-starter-kit/v1/license#content-7-additional-terms

“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in...

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

last(callable $callback = null, $default = null) The last method is the logical opposite of the first method, and is used to get the last item in a collection, or to get the last item in a collection that matches a certain criteria. A $callback...

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

shuffle The shuffle method is used to rearrange the items of the array in a random distribution. The shuffle method will return a new collection and will not modify the original collection instance. The following code example shows the usage of...

/blog/2021/12/05/creating-stacked-content-layouts-with-statamic-and-antlers#content-using-array-plucking

Array plucking is an Antlers technique to retrieve a specific entry from a list of items. At its most basic level, it is simply a way to access elements in an array be their index. In the following example, we would have access to the first...

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

sortBy($callback, $options = SORT_REGULAR, $descending = false) The sortBy method is useful and versatile way to sort collections by some key, or by some value returned by a $callback . The $callback can either be a function that defines two...

/blog/2016/12/07/laravel-artisan-custom-styles-custom-progress-bar-styles#content-different-styles-on-different-systems

When developing commands that are required to be used on multiple systems it can be beneficial to your users if your commands respond to the operating environment. When it comes to how console commands interact with terminals it is only really...

/blog/2018/04/22/laravel-5-collections-randomizing-element-order-with-shuffle

The shuffle method is used to rearrange the items of the array in a random distribution. The shuffle method will return a new collection and will not modify the original collection instance.The following code example shows the usage of the shuffle...