mini\Converter\ConverterRegistry::convert()
Method
public
Signature
public function convert(mixed $input, string $targetType, ?string $sourceType = NULL): mixed
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$input |
mixed |
required | Documentation missing |
$targetType |
string |
required | Documentation missing |
$sourceType |
?string |
NULL
|
Documentation missing |
Returns
mixed
Documentation
Convert a value to target type