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 24
static array
toArguments(ReflectionFunctionAbstract $method, array $args)
No description
at line 66
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 132
static bool
convertType(mixed $val, string $types)
Lossless type conversion.
at line 180
static string
getType(ReflectionParameter|ReflectionProperty $item)
No description
Traits
StaticClass