Showing 10 of 1,204 results.

Special Cases for Laravel's Singular Pluralization Feature

…us pincers pliers proceedings rabies rhinoceros rice salmon scissors sea bass sea-bass series shears siemens species staff swine testes trousers trout tuna whiting wildebeest       In addition to words that are not inflected, the method also...

Laravel 5 Fluent API: The Public API

The following sections will highlight the usage of the various public methods that the Fluent class provides. There are, however, some omissions in this section, namely the methods required to implement PHP's ArrayAccess interface. The examples...

Laravel Collection Public API: prepend

…=> string 'XS' (length=2) 6 2 => string 'S' (length=1) 7 3 => string 'M' (length=1) 8 4 => string 'L' (length=1) 9 5 => string 'XL' (length=2) The following examples demonstrate the usage of the prepend method when supplying an argument for the...

Laravel Application Helper Function: redirect

redirect($to = null, $status = 302, $headers = [], $secure = null) The redirect helper function is a versatile helper function. The $to parameter is defined with a default value of null . When $to is null , the redirect function by default will...

Filter Search