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

Breadcrumb

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

function SymfonyStyle::newLine

Overrides OutputStyle::newLine

11 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::horizontalTable in vendor/symfony/console/Style/SymfonyStyle.php
Formats a horizontal table.

... See full list

File

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

Class

SymfonyStyle
Output decorator helpers for the Symfony Style Guide.

Namespace

Symfony\Component\Console\Style

Code

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

API Navigation

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