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

Breadcrumb

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

function StreamableInputInterface::setStream

Sets the input stream to read from when interacting with the user.

This is mainly useful for testing purpose.

Parameters

resource $stream The input stream:

1 method overrides StreamableInputInterface::setStream()
Input::setStream in vendor/symfony/console/Input/Input.php

File

vendor/symfony/console/Input/StreamableInputInterface.php, line 29

Class

StreamableInputInterface
StreamableInputInterface is the interface implemented by all input classes that have an input stream.

Namespace

Symfony\Component\Console\Input

Code

public function setStream($stream) : void;

API Navigation

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