\phpDocumentor\Descriptor\ValidatorError

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 : integer

Type

integer

$context

$context : array

Type

array

Methods

__construct()

__construct(string  $severity, string  $code, integer  $line, array  $context = array()) 

Parameters

string $severity
string $code
integer $line
array $context

getCode()

getCode() : string

Returns

string —

$code

getLine()

getLine() : integer

Returns

integer —

$line

getSeverity()

getSeverity() : string

Returns

string —

$severity

getContext()

getContext() : array

Returns

array —

$context