/** * Confirm a question with the user. * * @param string $question * @param bool $default * @return bool */ public function confirm($question, $default = false) { return $this->output->confirm($question, $default); }
/** * Process property of type 'confirm' * * Method will ask the user to confirm something. * * @param Property $property * * @return bool */ protected function handleConfirmType(Property $property) { return $this->output->confirm($property->getQuestion(), $property->getValue()); }