Documentation

JsonMatchesErrorMessageProvider
in package

FinalYes
Tags
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Methods

determineJsonError()  : string|null
Translates JSON error to a human readable string.
translateTypeToPrefix()  : string
Translates a given type to a human readable message prefix.

Methods

determineJsonError()

Translates JSON error to a human readable string.

public static determineJsonError(string $error[, string $prefix = '' ]) : string|null
Parameters
$error : string
$prefix : string = ''
Return values
string|null

translateTypeToPrefix()

Translates a given type to a human readable message prefix.

public static translateTypeToPrefix(string $type) : string
Parameters
$type : string
Return values
string

        
On this page

Search results