PAMI\Message\Message::setKey PHP Method

setKey() protected method

Adds a variable to this message.
protected setKey ( string $key, string $value ) : void
$key string Key name (i.e: Action).
$value string Key value.
return void
    protected function setKey($key, $value)
    {
        $key = strtolower((string) $key);
        $this->keys[$key] = (string) $value;
    }