MirroredParameter
class MirroredParameter
Methods
__construct(SchemaPath $path, string $name, MirroredParameterType $type)
Create a parameter's header mapping.
string
header()
Get the HTTP header name.
mixed
raw(array $arguments)
Get the unencoded argument value.
string|null
stringify(mixed $value)
Convert the value according to its declared type.
HeaderValue|null
value(array $arguments)
Get the validated header value for the supplied arguments.
Details
at line 15
__construct(SchemaPath $path, string $name, MirroredParameterType $type)
Create a parameter's header mapping.
at line 25
string
header()
Get the HTTP header name.
at line 35
mixed
raw(array $arguments)
Get the unencoded argument value.
at line 43
string|null
stringify(mixed $value)
Convert the value according to its declared type.
at line 55
HeaderValue|null
value(array $arguments)
Get the validated header value for the supplied arguments.