Neos\Flow\Tests\Functional\Mvc\Fixtures\Controller\EntityController::getFlattenedValidationErrorMessage PHP Метод

getFlattenedValidationErrorMessage() защищенный Метод

protected getFlattenedValidationErrorMessage ( ) : string
Результат string
    protected function getFlattenedValidationErrorMessage()
    {
        $message = 'An error occurred while trying to call ' . get_class($this) . '->' . $this->actionMethodName . '().' . PHP_EOL;
        foreach ($this->arguments->getValidationResults()->getFlattenedErrors() as $propertyPath => $errors) {
            foreach ($errors as $error) {
                $message .= 'Error for ' . $propertyPath . ':  ' . $error->render() . PHP_EOL;
            }
        }
        return $message;
    }