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

Breadcrumb

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

function IOInterface::overwrite

Overwrites a previous 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 $size The size of line:

int $verbosity Verbosity level from the VERBOSITY_* constants:

Return value

void

2 methods override IOInterface::overwrite()
ConsoleIO::overwrite in vendor/composer/composer/src/Composer/IO/ConsoleIO.php
@inheritDoc
NullIO::overwrite in vendor/composer/composer/src/Composer/IO/NullIO.php
@inheritDoc

File

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

Class

IOInterface
The Input/Output helper interface.

Namespace

Composer\IO

Code

public function overwrite($messages, bool $newline = true, ?int $size = null, 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