Table of Contents
Methods
-
__construct()
: mixed
-
addError()
: static
-
getErrors()
: ErrorCollection
-
setErrors()
: static
__construct()
public
__construct([ErrorCollection|null $errors = null ]) : mixed
Parameters
-
$errors
: ErrorCollection|null
= null
-
addError()
public
addError(Error $error) : static
Parameters
-
$error
: Error
-
getErrors()
public
getErrors() : ErrorCollection
Return values
ErrorCollection
setErrors()
public
setErrors(ErrorCollection $errors) : static
Parameters
-
$errors
: ErrorCollection
-