\League\CsvCannotInsertRecord

Thrown when a data is not added to the Csv Document.

Summary

Methods
Properties
Constants
triggerOnInsertion()
triggerOnValidation()
getName()
getRecord()
No public properties found
No constants found
No protected methods found
$record
$name
N/A
No private methods found
No private properties found
N/A

Properties

$record

$record : array

The record submitted for insertion.

Type

array

$name

$name : string

Validator which did not validated the data.

Type

string

Methods

triggerOnInsertion()

triggerOnInsertion(array  $record) 

Create an Exception from a record insertion into a stream.

Parameters

array $record

triggerOnValidation()

triggerOnValidation(\League\Csv\string  $name, array  $record) 

Create an Exception from a Record Validation.

Parameters

\League\Csv\string $name
array $record

getName()

getName() 

return the validator name.

getRecord()

getRecord() 

return the invalid data submitted.