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

Breadcrumb

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

function BufferIO::setUserInputs

Parameters

string[] $inputs:

See also

createStream

File

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

Class

BufferIO
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\IO

Code

public function setUserInputs(array $inputs) : void {
    if (!$this->input instanceof StreamableInputInterface) {
        throw new \RuntimeException('Setting the user inputs requires at least the version 3.2 of the symfony/console component.');
    }
    $this->input
        ->setStream($this->createStream($inputs));
    $this->input
        ->setInteractive(true);
}

API Navigation

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