Skip to content

Commit

Permalink
update example to show boolean option switches
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 5, 2015
1 parent abfaab5 commit 5dbc62d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artisan.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ Sometimes you may wish to execute an Artisan command outside of the CLI. For exa

Route::get('/foo', function () {
$exitCode = Artisan::call('email:send', [
'user' => 1, '--queue' => 'default'
'user' => 1, '--queue' => 'default', '--force' => true
]);

//
Expand All @@ -315,7 +315,7 @@ Using the `queue` method on the `Artisan` facade, you may even queue Artisan com

Route::get('/foo', function () {
Artisan::queue('email:send', [
'user' => 1, '--queue' => 'default'
'user' => 1, '--queue' => 'default', '--force' => true
]);

//
Expand Down

0 comments on commit 5dbc62d

Please sign in to comment.