\phpDocumentor\Descriptor\ValidationError

Struct to record a validation error.

Summary

Methods
Properties
Constants
__construct()
getCode()
getLine()
getSeverity()
getContext()
No public properties found
No constants found
No protected methods found
$severity
$code
$line
$context
N/A
No private methods found
No private properties found
N/A

Properties

$severity

$severity : string

Type

string

$code

$code : string

Type

string

$line

$line : int

Type

int

$context

$context : array

Type

array

Methods

__construct()

__construct(string  $severity, string  $code, ?int  $line, array  $context = []) : mixed

Parameters

string $severity
string $code
?int $line
array $context

Returns

mixed —

getCode()

getCode() : string

Returns

string —

getLine()

getLine() : int

Returns

int —

getSeverity()

getSeverity() : string

Returns

string —

getContext()

getContext() : array

Returns

array —