Documentation

InvalidRowException extends InvalidArgumentException
in package

Thrown when a data is not validated prior to insertion

Tags
since
7.0.0

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

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
Return values
string

Search results