interface ParameterMapInterface implements ArrayAccess, Countable, IteratorAggregate, ContainerInterface (View source)

Key-value map for several HTTP message header value.

  • Key must be a token string as described in RFC 7231
  • Value must be a token or quoted-value string as described in RRC 7231
  • Keys are case-insensitive
  • offsetGet($key) MUST return NULL when parameter cannot be found
  • offsetSet($key, $value) MUST throw InvalidArgumentException if the key is not a string
  • offsetSet($key, $value) MAY validate $key and $value and throw InvalidArgumentException
  • get() MUST throw ParameterNotFoundException on non-existing key