ColumnMismatchException extends InvalidArgumentException
FinalYes
Properties
Methods
- because() : self
- missingColumn() : self
- reason() : string
- retype() : self
- unexpectedColumn() : self
- unsupportedPath() : self
- unsupportedType() : self
- untypedColumn() : self
- valueDoesNotMatch() : self
Properties
$column read-only
public
string
$column
$detail read-only
public
string
$detail
Methods
because()
public
static because(string $format, float|int|string ...$parameters) : self
Parameters
- $format : string
- $parameters : float|int|string
Return values
selfmissingColumn()
public
static missingColumn(string $column) : self
Parameters
- $column : string
Return values
selfreason()
public
reason() : string
Return values
stringretype()
public
static retype(string $column, string $type, string $reason) : self
Parameters
- $column : string
- $type : string
- $reason : string
Return values
selfunexpectedColumn()
public
static unexpectedColumn(string $column) : self
Parameters
- $column : 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
Return values
selfunsupportedType()
public
static unsupportedType(string $column, string $type, string $reason) : self
Parameters
- $column : string
- $type : string
- $reason : string
Return values
selfuntypedColumn()
public
static untypedColumn(string $column) : self
Parameters
- $column : string
Return values
selfvalueDoesNotMatch()
public
static valueDoesNotMatch(string $column, string $type, mixed $value[, Exception|null $reason = null ]) : self
Parameters
- $column : string
- $type : string
- $value : mixed
- $reason : Exception|null = null