Flow PHP

ColumnMismatchException extends InvalidArgumentException

FinalYes

Properties

$column  : string
$detail  : string

Methods

because()  : self
missingColumn()  : self
reason()  : string
retype()  : self
unexpectedColumn()  : self
unsupportedPath()  : self
unsupportedType()  : self
untypedColumn()  : self
valueDoesNotMatch()  : self

Properties

Methods

because()

public static because(string $format, float|int|string ...$parameters) : self
Parameters
$format : string
$parameters : float|int|string
Return values
self

missingColumn()

public static missingColumn(string $column) : self
Parameters
$column : string
Return values
self

retype()

public static retype(string $column, string $type, string $reason) : self
Parameters
$column : string
$type : string
$reason : string
Return values
self

unexpectedColumn()

public static unexpectedColumn(string $column) : self
Parameters
$column : string
Return values
self

unsupportedPath()

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
self

unsupportedType()

public static unsupportedType(string $column, string $type, string $reason) : self
Parameters
$column : string
$type : string
$reason : string
Return values
self

untypedColumn()

public static untypedColumn(string $column) : self
Parameters
$column : string
Return values
self

valueDoesNotMatch()

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
Return values
self
On this page

Search results