Respect\Validation\Validator::check PHP Метод

check() публичный Метод

public check ( $input )
    public function check($input)
    {
        try {
            return parent::check($input);
        } catch (ValidationException $exception) {
            if (count($this->getRules()) == 1 && $this->template) {
                $exception->setTemplate($this->template);
            }
            throw $exception;
        }
    }