public function data($key, $value = null)
    {
        Util::operateArray($this->smsData['data'], $key, $value);

        return $this;
    }
public function data($key, $value = null)
    {
        Util::operateArray($this->smsData['data'], $key, $value);

        return $this;
    }
public function data ( $ key , $ value = null ) { Util :: operateArray ( $ this -> smsData [ 'data' ] , $ key , $ value ) ; return $ this ; }
Set the template data.

@param mixed $key
@param mixed $value

@return $this
Set the template data .