You are here

public function OutputStyle::newLine in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Style/OutputStyle.php \Symfony\Component\Console\Style\OutputStyle::newLine()

Add newline(s).

Parameters

int $count The number of newlines:

Overrides StyleInterface::newLine

1 call to OutputStyle::newLine()
SymfonyStyle::newLine in vendor/symfony/console/Style/SymfonyStyle.php
Add newline(s).
1 method overrides OutputStyle::newLine()
SymfonyStyle::newLine in vendor/symfony/console/Style/SymfonyStyle.php
Add newline(s).

File

vendor/symfony/console/Style/OutputStyle.php, line 38

Class

OutputStyle
Decorates output to add console style guide helpers.

Namespace

Symfony\Component\Console\Style

Code

public function newLine($count = 1) {
  $this->output
    ->write(str_repeat(PHP_EOL, $count));
}