Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. OutputStyle.php

function OutputStyle::newLine

Overrides StyleInterface::newLine

2 calls to OutputStyle::newLine()
SymfonyStyle::newLine in vendor/symfony/console/Style/SymfonyStyle.php
Add newline(s).
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 31

Class

OutputStyle
Decorates output to add console style guide helpers.

Namespace

Symfony\Component\Console\Style

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal