Showing 7 of 1,975 result(s)
…ply additional data that will be added as a query string by supplying an argument for the $parameters parameter. The secure_url helper function internally returns the value of a call to the url (discussed in the Laravel URL Helper Function: url...
Laravel provides many facades to make it easier to quickly build application and test ideas. One such facade is the Illuminate\Support\Facades\Crypt facade, which provides access to whatever implementation is bound to the...
So far the examples of command options make the assumption that the user is required to enter a value for a command option. Options can be used as flags or switches to change the execution behavior of the command. To have an option behave like a...
The replaceLast helper method is the logical opposite of the replaceFirst helper method. It is used to replace the last occurrence of a given $search string with the provided $replace string in the $subject string. All three parameters are...
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 signature of the choice method is:
The signature of the setSelector method is: