src/PAMI/Message/Message.php
public function getVariable($key)
    {
        if (!isset($this->variables[$key])) {
            return null;
        }
        return $this->variables[$key];
    }
public function getVariable($key)
    {
        if (!isset($this->variables[$key])) {
            return null;
        }
        return $this->variables[$key];
    }
public function getVariable ( $ key ) { if ( ! isset ( $ this -> variables [ $ key ] ) ) { return null ; } return $ this -> variables [ $ key ] ; }
Returns a variable by name.

@param string $key Variable name.

@return string
Returns a variable by name .