Skip to content

Commit 6d389be

Browse files
jwpagetaylorotwell
andauthored
Add warn to list of output methods. (#6975)
* Add `warn` to list of output methods. * Update artisan.md Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent a1b7a5d commit 6d389be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

artisan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ In addition, the `choice` method accepts optional fourth and fifth arguments for
405405
<a name="writing-output"></a>
406406
### Writing Output
407407

408-
To send output to the console, you may use the `line`, `info`, `comment`, `question` and `error` methods. Each of these methods will use appropriate ANSI colors for their purpose. For example, let's display some general information to the user. Typically, the `info` method will display in the console as green colored text:
408+
To send output to the console, you may use the `line`, `info`, `comment`, `question`, `warn`, and `error` methods. Each of these methods will use appropriate ANSI colors for their purpose. For example, let's display some general information to the user. Typically, the `info` method will display in the console as green colored text:
409409

410410
/**
411411
* Execute the console command.

0 commit comments

Comments
 (0)