Showing 10 of 1,204 results.

The Laravel Application Console Kernel

…ible for specifying which custom commands should be made available to users and when to automatically execute various commands and tasks (by using the task scheduler). It is important to note that while this the application and console kernels...

Laravel Array Helper Function: array_add

…key, $value) Consider the following code snippet: 1 use Illuminate \ Support \ Arr ; 2 3 $ myArray = [ 4 ' animal ' => ' Araripe Manakin ' , 5 ' plant ' => ' Pineland Wild Petunia ' 6 ] ; 7 8 $ myArray = Arr :: add ( $ myArray , ' insect ' , '...

Documentation Search | That Escalated Quickly: All the New Things

…a powerful search provider for Statamic. Documentation Search was developed with documentation-heavy websites in mind, and supports the following features: Split larger entries into smaller sections that can be indexed independently, Customizable...

SORT_NUMERIC | Laravel Collection Public API: sortBy

The SORT_NUMERIC treats each item as a number when doing the comparison. The following code example shows how to use the SORT_NUMERIC flag when sorting the $collection created previously (the callback function will return the string representation...

SORT_STRING | Laravel Collection Public API: sortBy

The SORT_STRING treats each item as a string when doing the comparison. The following code example shows how to use the SORT_STRING flag when sorting the $collection created previously (the callback function will return the string representation...

SORT_LOCALE_STRING | Laravel Collection Public API: sortBy

The SORT_LOCALE_STRING treats each item as a string, while also taking into account the current locale, when doing the comparison. The following code example shows how to use the SORT_LOCALE_STRING flag when sorting the $collection created...

Filter Search