Signature | Laravel 5: String Translation Public API
The signature of the choice method is: 1 public function choice ( 2 $ key , 3 $ number , 4 array $ replace = [ ] , 5 $ locale = null 6 ) ;
Showing 10 of 2,044 results.
The signature of the choice method is: 1 public function choice ( 2 $ key , 3 $ number , 4 array $ replace = [ ] , 5 $ locale = null 6 ) ;
The addLines method can be used to add arbitrary translation lines to the translator's translation lines collection for the provided locale. This method can be used to add translation lines at runtime in response to dynamic conditions within your...
The signature of the setLocale method is: 1 public function setLocale ( 2 $ locale 3 ) ;
This article will discuss the various ways that we as users can interact with Artisan console commands. This article contains many sections which focuses on specific ways to interact with commands or gain information about commands. Each section...
By default, Social Media Image Kit will produce a nested folder structure for all generated assets. Folder names are generated using an Antlers template. This template can be changed by modifying the folder configuration value within the...
…e backups of the site incredibly easily. It is a command line utility, which means I can easily schedule its execution. There is a lot to this add-on, like configurable off-site storage locations; the details can be found at...
Meerkat is an add-on that provides a flat-file comment system for Statamic sites; it was designed to be as familiar to users coming from WordPress as possible while also taking advantage of Statamic features. It is a commercial add-on; this is...
…used to check if a given $haystack ends with any of the supplied $needles . The $haystack is any value that can be cast into a string, and $needles is any value that can be cast into an array. If the $haystack ends with any of the $needles , the...
The getMessageBag method returns a reference to the MessageBag instance. It exists to satisfy the requirements of the "Illuminate\Contracts\Support\MessageProvider" interface.The signature of the getMessageBag method is: 1 public function...
The session function allows setting session values directly by passing in an array of key/value pairs. The following example demonstrates this: 1 // Settings two session values 'test' and 'test2' 2 session ( [ 3 ' test ' => ' A test message ' , 4...