public function Question::getMaxAttempts in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Question/Question.php \Symfony\Component\Console\Question\Question::getMaxAttempts()
Gets the maximum number of attempts.
Null means an unlimited number of attempts.
Return value
null|int
File
- vendor/
symfony/ console/ Question/ Question.php, line 210
Class
- Question
- Represents a Question.
Namespace
Symfony\Component\Console\QuestionCode
public function getMaxAttempts() {
return $this->attempts;
}