Showing 7 of 1,216 result(s)
make($items = []) The make static method creates a new instance of a collection with the provided $items (assuming that the provided $items is in itself not an instance of Collection ). The following code sample highlights the usage of the make...
Laravel provides many facades to make it easier to quickly build application and test ideas. One such facade is the Illuminate\Support\Facades\Hash facade, which provides access to whatever implementation is bound to the...
Most useful commands need to accept some sort of input from the user. The input can be as simple as requiring users to supply information in the form of parameters and options or can be more complicated by interactively entering data at the...
The following table serves as a quick reference for the common command signature definitions. The Syntax column demonstrates the syntax required, the Description column provides a description or quick explanation of the syntax and the Required...
The cache:clear command can be used to clear the applications cache files. The command defines an optional store parameter which can be used to change which cache store is cleared. By default the store parameter will be set to whatever value is...
The cache:table command is used to create a new migration for the cache database table. This table is required to use the database cache driver. This command defines no parameters and can be used like so: php artisan cache:table The migration will...
The config:clear command is used to remove the configuration cache file created by the config:cache command. By default this command will delete the bootstrap/cache/config.php file. The following example shows how to call the config:clear command:...