Raml\Validator\RequestValidator::getSchemaErrorsAsString PHP Méthode

getSchemaErrorsAsString() private méthode

private getSchemaErrorsAsString ( array $errors ) : string
$errors array
Résultat string
    private function getSchemaErrorsAsString(array $errors)
    {
        return join(', ', array_map(function (array $error) {
            return sprintf('%s (%s)', $error['property'], $error['constraint']);
        }, $errors));
    }