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

Breadcrumb

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

function IOInterface::write

Writes a message to the output.

Parameters

string|string[] $messages The message as an array of lines or a single string:

bool $newline Whether to add a newline or not:

int $verbosity Verbosity level from the VERBOSITY_* constants:

Return value

void

1 call to IOInterface::write()
BaseIO::writeRaw in vendor/composer/composer/src/Composer/IO/BaseIO.php
@inheritDoc
2 methods override IOInterface::write()
ConsoleIO::write in vendor/composer/composer/src/Composer/IO/ConsoleIO.php
@inheritDoc
NullIO::write in vendor/composer/composer/src/Composer/IO/NullIO.php
@inheritDoc

File

vendor/composer/composer/src/Composer/IO/IOInterface.php, line 75

Class

IOInterface
The Input/Output helper interface.

Namespace

Composer\IO

Code

public function write($messages, bool $newline = true, int $verbosity = self::NORMAL);

API Navigation

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