Showing 10 of 1,204 results.

Laravel Collection Public API: flatten

…p 2 3 use Illuminate \ Support \ Collection ; 4 5 // Create a new collection instance. 6 $ collection = new Collection ( [ 7 ' first ' , 8 ' second ' => [ 9 ' nested ' , 10 ' array ' , 11 [ 12 ' deeply ' , 13 ' nested ' 14 ] 15 ] , 16 ' third '...

Laravel Collection Public API: sortByDesc

sortByDesc($callback, $options = SORT_REGULAR) The sortByDesc method operates exactly the same as the sortBy method. The only differences is that the sortByDesc method does not define a $descending parameter. The sortByDesc method internally makes...

Localization

…language strings for the various filters that appear in the Control Panel. general.php Provides language strings for general items and branding. guards.php Provides translation strings for various spam guards. Displayed in the configuration...

15. Disclaimer of Warranty. | License

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR...

How to Apply These Terms to Your New Programs | License

…tware Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...

Laravel Application Helper: abort_if

…$code, $message = '', array $headers) The abort_if helper function performs the same basic function as the abort helper function (discussed in the Laravel Application Helper: abort article). The only difference is that the abort_if defines one...

Laravel Application Helper: response

…he response content! ' ) ; If the above examples had been returned from a controller or route the user would see the text I am the response content! in their browser.To change the status code of the response simply supply an argument for the...

What Are They? | Lambdas And Closures

…call our function. This looks similar to what we are used to, but we add the $ sign in front since we referencing our variable. The above code example would print output this to the browser: 1 This is a lambda function We could even define...