Signature | Laravel 5: String Translation Public API
The signature of the setFallback method is: 1 public function setFallback ( 2 $ locale 3 ) ;
Showing 10 of 2,055 results.
The signature of the setFallback method is: 1 public function setFallback ( 2 $ locale 3 ) ;
The e function is a simple wrapper of PHP's htmlentities function. The e function utilizes the UTF-8 character encoding. The e function will sanitize user input when displaying it to the browser.
The connection method will return a new schema builder ( Illuminate\Database\Schema\Builder ) instance for the given connection. The $name is the name of the connection as it appears in the database configuration file.
The signature of the endsWith method is: 1 public static endsWith ( 2 $ haystack , 3 $ needles 4 ) ;
Since we are trying to get everything to work nicely with Kint, we should probably have Kint required in our project. Add this to your composer.json file (either in your require or require-dev section. I put mine in the require-dev section): 1 ......
The is:before filter allows you to filter comments to those that appear before a certain date. It accepts either a UNIX timestamp, or the date as text input. The following example would return all comments that were submitted to the server before...
The is:after filter allows you to filter comments to those that appear after a certain date. It accepts either a UNIX timestamp, or the date as text input. The following example would return all comments that were submitted to the server after...
The is:spam filter allows you to filter comments based on whether or not it is considered spam. It accepts a boolean value, or the wildcard ( * ) value. The following example filters all comments that were flagged as spam: 1 {{ meerkat : responses...
The is:published filter allows you to filter comments based on whether or not it was approved by a Statamic Control Panel user. It accepts a boolean value, or the wildcard ( * ) value. The following example filters all comments that were not...
You can see from the above output that the command accepts an --age option and it has a default value of 0 . Although --age is fairly descriptive, it would be nice to give the option a good description. The process to add a description to options...