PAMI\Message\Message::setVariable PHP Метод

setVariable() публичный Метод

Adds a variable to this message.
public setVariable ( string $key, string $value ) : void
$key string Variable name.
$value string Variable value.
Результат void
    public function setVariable($key, $value)
    {
        $this->variables[$key] = $value;
    }