Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Add newLine() method to Artisan Console docs #6481

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions artisan.md
Expand Up @@ -393,6 +393,13 @@ If you would like to display plain, uncolored console output, use the `line` met

$this->line('Display this on the screen');

You may use the `newLine` method to display a blank line:

$this->newLine();

// Write three blank lines...
$this->newLine(3);

#### Table Layouts

The `table` method makes it easy to correctly format multiple rows / columns of data. Just pass in the headers and rows to the method. The width and height will be dynamically calculated based on the given data:
Expand Down