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

Breadcrumb

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

function OutputInterface::writeln

Writes a message to the output and adds a newline at the end.

Parameters

int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants),: 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL

3 methods override OutputInterface::writeln()
NullOutput::writeln in vendor/symfony/console/Output/NullOutput.php
Writes a message to the output and adds a newline at the end.
Output::writeln in vendor/symfony/console/Output/Output.php
Writes a message to the output and adds a newline at the end.
OutputStyle::writeln in vendor/symfony/console/Style/OutputStyle.php
Writes a message to the output and adds a newline at the end.

File

vendor/symfony/console/Output/OutputInterface.php, line 51

Class

OutputInterface
OutputInterface is the interface implemented by all Output classes.

Namespace

Symfony\Component\Console\Output

Code

public function writeln(string|iterable $messages, int $options = 0) : void;
RSS feed
Powered by Drupal