validateErrors = $errors; } public function getValidateErrors(): iterable { return $this->validateErrors; } }