Greater than constraint
Example
$config = [
'path' => './'
];
$validation = new \Vtiful\Kernel\Validation();
$validation->validationType(\Vtiful\Kernel\Validation::TYPE_INTEGER)
->criteriaType(\Vtiful\Kernel\Validation::CRITERIA_GREATER_THAN)
->valueNumber(20);
$excel = new \Vtiful\Kernel\Excel($config);
$filePath = $excel->fileName('tutorial.xlsx')
->validation('A1', $validation->toResource())
->insertText(0, 0, 21) // Out-of-range; the write succeeds, Excel flags the cell on open.
->output();Last updated