Str::toType()
Convert the string to the given type
Str::toType($string, $type)
Parameters
Name | Type | Default |
---|---|---|
$stringrequired | mixed |
no default value |
$typerequired | mixed |
no default value |
Convert the string to the given type
Str::toType($string, $type)
Name | Type | Default |
---|---|---|
$stringrequired | mixed |
no default value |
$typerequired | mixed |
no default value |