InvalidRowException
extends InvalidArgumentException
in package
Thrown when a data is not validated prior to insertion
Tags
Table of Contents
- $data : array<string|int, mixed>
- Validator Data which caused the error
- $name : string
- Validator which did not validated the data
- __construct() : mixed
- New Instance
- getData() : array<string|int, mixed>
- return the invalid data submitted
- getName() : string
- return the validator name
Properties
$data
Validator Data which caused the error
private
array<string|int, mixed>
$data
$name
Validator which did not validated the data
private
string
$name
Methods
__construct()
New Instance
public
__construct(string $name[, array<string|int, mixed> $data = [] ][, string $message = '' ]) : mixed
Parameters
- $name : string
-
validator name
- $data : array<string|int, mixed> = []
-
invalid data
- $message : string = ''
-
exception message
Return values
mixed —getData()
return the invalid data submitted
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed> —getName()
return the validator name
public
getName() : string