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

Breadcrumb

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

function StreamOutput::doWrite

Overrides Output::doWrite

8 calls to StreamOutput::doWrite()
ConsoleSectionOutput::clear in vendor/symfony/console/Output/ConsoleSectionOutput.php
Clears previous output for this section.
ConsoleSectionOutput::clear in vendor/symfony/console/Output/ConsoleSectionOutput.php
Clears previous output for this section.
ConsoleSectionOutput::doWrite in vendor/symfony/console/Output/ConsoleSectionOutput.php
Writes a message to the output.
ConsoleSectionOutput::doWrite in vendor/symfony/console/Output/ConsoleSectionOutput.php
Writes a message to the output.
ConsoleSectionOutput::popStreamContentUntilCurrentSection in vendor/symfony/console/Output/ConsoleSectionOutput.php
At initial stage, cursor is at the end of stream output. This method makes cursor crawl upwards until it hits current section. Then it erases content it crawled through. Optionally, it erases part of current section too.

... See full list

1 method overrides StreamOutput::doWrite()
ConsoleSectionOutput::doWrite in vendor/symfony/console/Output/ConsoleSectionOutput.php
Writes a message to the output.

File

vendor/symfony/console/Output/StreamOutput.php, line 66

Class

StreamOutput
StreamOutput writes the output to a given stream.

Namespace

Symfony\Component\Console\Output

Code

protected function doWrite(string $message, bool $newline) : void {
    if ($newline) {
        $message .= \PHP_EOL;
    }
    @fwrite($this->stream, $message);
    fflush($this->stream);
}

API Navigation

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