file-fetcher
Static Public Member Functions | List of all members
PHPUnit\Framework\Constraint\JsonMatchesErrorMessageProvider Class Reference

Detailed Description

Provides human readable messages for each JSON error.

Static Public Member Functions

static determineJsonError (string $error, string $prefix='')
 
static translateTypeToPrefix (string $type)
 

Member Function Documentation

◆ determineJsonError()

static PHPUnit\Framework\Constraint\JsonMatchesErrorMessageProvider::determineJsonError ( string  $error,
string  $prefix = '' 
)
static

Translates JSON error to a human readable string.

◆ translateTypeToPrefix()

static PHPUnit\Framework\Constraint\JsonMatchesErrorMessageProvider::translateTypeToPrefix ( string  $type)
static

Translates a given type to a human readable message prefix.


The documentation for this class was generated from the following file: