Documentation

ValidationException extends RuntimeException
in package

Table of Contents

Properties

$errors  : mixed

Methods

getErrors()  : array<string|int, mixed>
Get any validation errors
setErrors()  : mixed
Set the validation error messages

Properties

Methods

getErrors()

Get any validation errors

public getErrors() : array<string|int, mixed>
Return values
array<string|int, mixed>

setErrors()

Set the validation error messages

public setErrors(array<string|int, mixed> $errors) : mixed
Parameters
$errors : array<string|int, mixed>

Array of validation errors


        
On this page

Search results