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

Breadcrumb

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

function StyleInterface::choice

Asks a choice question.

1 method overrides StyleInterface::choice()
SymfonyStyle::choice in vendor/symfony/console/Style/SymfonyStyle.php
Asks a choice question.

File

vendor/symfony/console/Style/StyleInterface.php, line 89

Class

StyleInterface
Output style helpers.

Namespace

Symfony\Component\Console\Style

Code

public function choice(string $question, array $choices, mixed $default = null) : mixed;

API Navigation

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