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

Breadcrumb

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

function IOInterface::writeError

Writes a message to the error 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

3 calls to IOInterface::writeError()
BaseIO::checkAndSetAuthentication in vendor/composer/composer/src/Composer/IO/BaseIO.php
Check for overwrite and set the authentication information for the repository.
BaseIO::log in vendor/composer/composer/src/Composer/IO/BaseIO.php
BaseIO::writeErrorRaw in vendor/composer/composer/src/Composer/IO/BaseIO.php
@inheritDoc
2 methods override IOInterface::writeError()
ConsoleIO::writeError in vendor/composer/composer/src/Composer/IO/ConsoleIO.php
@inheritDoc
NullIO::writeError in vendor/composer/composer/src/Composer/IO/NullIO.php
@inheritDoc

File

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

Class

IOInterface
The Input/Output helper interface.

Namespace

Composer\IO

Code

public function writeError($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