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

Breadcrumb

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

function Question::setMultiline

Sets whether the user response should accept newline characters.

Return value

$this

File

vendor/symfony/console/Question/Question.php, line 72

Class

Question
Represents a Question.

Namespace

Symfony\Component\Console\Question

Code

public function setMultiline(bool $multiline) : static {
    $this->multiline = $multiline;
    return $this;
}
RSS feed
Powered by Drupal