You are here

public function Question::getMaxAttempts in Zircon Profile 8

Same name and namespace in other branches
  1. 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\Question

Code

public function getMaxAttempts() {
  return $this->attempts;
}