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

Breadcrumb

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

function IOInterface::askAndHideAnswer

Asks a question to the user and hide the answer.

Parameters

string $question The question to ask:

Return value

string|null The answer

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

File

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

Class

IOInterface
The Input/Output helper interface.

Namespace

Composer\IO

Code

public function askAndHideAnswer(string $question);

API Navigation

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