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

Breadcrumb

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

function OutputInterface::write

Writes a message to the output.

Parameters

bool $newline Whether to add a newline:

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::write()
NullOutput::write in vendor/symfony/console/Output/NullOutput.php
Writes a message to the output.
Output::write in vendor/symfony/console/Output/Output.php
Writes a message to the output.
OutputStyle::write in vendor/symfony/console/Style/OutputStyle.php
Writes a message to the output.

File

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

Class

OutputInterface
OutputInterface is the interface implemented by all Output classes.

Namespace

Symfony\Component\Console\Output

Code

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