protected function Question::isAssoc in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Question/Question.php \Symfony\Component\Console\Question\Question::isAssoc()
2 calls to Question::isAssoc()
- ChoiceQuestion::getDefaultValidator in vendor/
symfony/ console/ Question/ ChoiceQuestion.php - Returns the default answer validator.
- Question::setAutocompleterValues in vendor/
symfony/ console/ Question/ Question.php - Sets values for the autocompleter.
File
- vendor/
symfony/ console/ Question/ Question.php, line 243
Class
- Question
- Represents a Question.
Namespace
Symfony\Component\Console\QuestionCode
protected function isAssoc($array) {
return (bool) count(array_filter(array_keys($array), 'is_string'));
}