ParameterConverter
final class ParameterConverter
internal |
Converts parameters between HTTP requests, presenters, and URLs.
Methods
static array
static void
toParameters(ReflectionMethod $method, array $args, array $supplemental = [], array|null $missing = null)
Converts list of arguments to named parameters & check types.
static bool
convertType(mixed $val, string $types)
Lossless type conversion.
static string
getType(ReflectionParameter|ReflectionProperty $item)
No description
Details
at line 25
static array
toArguments(ReflectionFunctionAbstract $method, array $args)
No description
at line 67
static void
toParameters(ReflectionMethod $method, array $args, array $supplemental = [], array|null $missing = null)
internal |
Converts list of arguments to named parameters & check types.
at line 133
static bool
convertType(mixed $val, string $types)
Lossless type conversion.
at line 181
static string
getType(ReflectionParameter|ReflectionProperty $item)
No description
Traits
StaticClass