SchemaMismatchException extends InvalidArgumentException
FinalYes
A row's own violation, placed in the batch that holds it - the row cannot report its position, only the batch knows it.
Properties
- $cause : ColumnMismatchException
- $rowIndex : int
Methods
- __construct() : mixed
- because() : self
- unsupportedPath() : self
Properties
$cause read-only
public
ColumnMismatchException
$cause
$rowIndex read-only
public
int
$rowIndex
Methods
__construct()
public
__construct(int $rowIndex, ColumnMismatchException $cause) : mixed
Parameters
- $rowIndex : int
- $cause : ColumnMismatchException
because()
public
static because(string $format, float|int|string ...$parameters) : self
Parameters
- $format : string
- $parameters : float|int|string
Return values
selfunsupportedPath()
public
static unsupportedPath(Filesystem $filesystem, Path $path, non-empty-string $dsl) : self
Parameters
- $filesystem : Filesystem
- $path : Path
- $dsl : non-empty-string
-
the function or method the caller passes the filesystem to