You are here

public function Question::getValidator 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::getValidator()

Gets the validator for the question.

Return value

null|callable

File

vendor/symfony/console/Question/Question.php, line 176

Class

Question
Represents a Question.

Namespace

Symfony\Component\Console\Question

Code

public function getValidator() {
  return $this->validator;
}