Showing 7 of 1,975 result(s)
…poser, it is now time to write some Antlers code that will change what message is displayed to the visitor depending on the type of error that was thrown. Let's update our errors/500.antlers.html file with the following content: Refreshing our...
…h --seed --seeder Resets and run all migrations again. migrate:reset --database --force --pretend Rollback all database migrations. migrate:rollback --database --force --pretend Rollback the last database migration. migrate:status --database...
The diffKeys method is similar to the diff method. It is used to determine which items whose keys in the collection are not present in the supplied $items collection's keys. $items can be either an array, or another instead of Collection .The...
…runs in the context of the web browser (so we can use the console features, and what not. But it doesn't have to). When this code is ran, it will write "Hello, world!" to the console. But we didn't explicitly call a function here. This a function...
implode($value, $glue = null) The implode method will combine the items of the collection together. The Collection 's implode method behaves differently than PHP's implode function in that it can operate on arrays of primitive data types as well...
Method Description hourly Schedule the event to run hourly. at($time) Set the time that the command should run at. everyMinute Schedule the event to run every minute. everyFiveMinutes Schedule the event to run every five minutes. everyTenMinutes...
The task scheduler also provides convenient methods for pinging URLs before or after a task has executed. The methods to do so are pingBefore($url) and pingAfter($url) . These methods internally use the Guzzle HTTP library . This library is not...