You are here

public function StyleInterface::confirm in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Style/StyleInterface.php \Symfony\Component\Console\Style\StyleInterface::confirm()

Asks for confirmation.

Parameters

string $question:

bool $default:

Return value

bool

1 method overrides StyleInterface::confirm()
SymfonyStyle::confirm in vendor/symfony/console/Style/SymfonyStyle.php
Asks for confirmation.

File

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

Class

StyleInterface
Output style helpers.

Namespace

Symfony\Component\Console\Style

Code

public function confirm($question, $default = true);