Showing 7 of 587 result(s)
There are two sets of files that are needed to enable the spell checking features within Brackets. These are the core spell checking libraries themselves and the dictionary files. The core plugin can be downloaded from...
Laravel provides many helper functions for interacting and 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...
The abort function will throw an instance of "Symfony\Component\HttpKernel\Exception\HttpException" with the given $code , $message and any $headers supplied. These exceptions can be caught and handled through the application's kernel. If the...
If the $callback parameter is omitted when invoking the tap helper function, it will allow you to proxy method calls to the provided value. This is different from the with helper function; instead of returning the return value of the method call,...
For example, the following code will a new Collection instance and calculate the average of all items in the collection: After the above code has executed $average would contain the value 12.5 , which is the average of 5 , 10 , 15 , and 20 . The...
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...
The Collection class exposes a generous public API, consisting of many public methods that allow you to manipulate and transform the collections internal elements. The Collection API exposes methods for retrieving values from a collection,...