N98\Util\Console\Helper\ParameterHelper::askAndValidate PHP Method

askAndValidate() private method

private askAndValidate ( Symfony\Component\Console\Output\OutputInterface $output, string | array $question, callable $callback ) : string
$output Symfony\Component\Console\Output\OutputInterface
$question string | array
$callback callable
return string
    private function askAndValidate(OutputInterface $output, $question, $callback)
    {
        /** @var DialogHelper $dialog */
        $dialog = $this->getHelperSet()->get('dialog');
        return $dialog->askAndValidate($output, $question, $callback);
    }