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

Breadcrumb

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

function NullIO::ask

@inheritDoc

Overrides IOInterface::ask

File

vendor/composer/composer/src/Composer/IO/NullIO.php, line 93

Class

NullIO
IOInterface that is not interactive and never writes the output

Namespace

Composer\IO

Code

public function ask($question, $default = null) {
    return $default;
}

API Navigation

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