forked from deblan/csv-validator
Renaming of method
This commit is contained in:
parent
e88a23bb1d
commit
0ee2884b3d
3 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ $validator->addFieldConstraint(0, new Email());
|
|||
$validator->addFieldConstraint(1, new Date());
|
||||
|
||||
// Validate the legend
|
||||
$validator->setExceptedLegend(array('foo', 'bar', 'bim'));
|
||||
$validator->setExpectedLegend(array('foo', 'bar', 'bim'));
|
||||
|
||||
// An line must contain 3 columns
|
||||
$validator->addDataConstraint(new Callback(function($data, ExecutionContextInterface $context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue