Showing 10 of 2,044 results.

Laravel 5 Message Bags: Merging Additional Messages With merge

The merge method is used to combine, or merge , the contents of the MessageBag instance with the provided $messages . The $messages can be any valid array or an object instance that implements the "Illuminate\Contracts\Support\MessageProvider"...

2. Basic Permissions. | License

…License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey,...

Laravel Array Helper Function: array_last

last($array, callable $callback = null, $default = null) The last helper method is the logical opposite of the first (discussed in the article Laravel Array Helper Function: array_first method. The difference is that the last function will return...

Laravel Array Helper Function: array_collapse

The collapse helper method accepts an array as its only parameter. The given $array can be a single array, or a nested array. The method will then return a new array with the contents of all the nested arrays. Arrays that are collapsed can contain...

Notes on Decimals | Laravel String Pluralization

…use USD currency instead): 1 <?php 2 3 $ message = ' |{0} You have no money. 4 |]0,1[ You have a few cents. 5 |[1,3[ You have a dollar, and some cents. 6 |[2,3[ You have a few dollars. 7 |[3,+Inf] Keep it up! ' ; 8 9 // You have no money. 10...

Laravel MessageBag Public API: setFormat

setFormat($format = ':message') The setFormat is the logical opposite of the getFormat method. It allows developers to customize the format used by all methods of the MessageBag instance. It defines a $format parameter, whose argument will be used...

Looking Forward | Rebuilding Stillat.com

The process of rebuilding the site has been fun, and there is still much work to be done. However, I am glad that the brunt of the work is done so that I can get back to publishing content again more consistently. I also have some ideas for video...

Removing Comments | Managing Comments

Comments may be deleted from the Control Panel by selecting the "Delete" option below the comment's content. There are a few things to remember when removing a comment: Addons may elect to "soft-delete" a comment. This means they won't show up by...