You are here

public function SymfonyStyle::newLine in Zircon Profile 8

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

Add newline(s).

Parameters

int $count The number of newlines:

Overrides OutputStyle::newLine

9 calls to SymfonyStyle::newLine()
SymfonyStyle::askQuestion in vendor/symfony/console/Style/SymfonyStyle.php
SymfonyStyle::autoPrependBlock in vendor/symfony/console/Style/SymfonyStyle.php
SymfonyStyle::autoPrependText in vendor/symfony/console/Style/SymfonyStyle.php
SymfonyStyle::block in vendor/symfony/console/Style/SymfonyStyle.php
Formats a message as a block of text.
SymfonyStyle::listing in vendor/symfony/console/Style/SymfonyStyle.php
Formats a list.

... See full list

File

vendor/symfony/console/Style/SymfonyStyle.php, line 352

Class

SymfonyStyle
Output decorator helpers for the Symfony Style Guide.

Namespace

Symfony\Component\Console\Style

Code

public function newLine($count = 1) {
  parent::newLine($count);
  $this->bufferedOutput
    ->write(str_repeat("\n", $count));
}