original_string: public function with($key, $value = null)
      {
          if (is_array($key)) {
              $this->viewData = array_merge($this->viewData, $key);
          } else {
              $this->viewData[$key] = $value;
          }
  
          return $this;
      }
code: public function with($key, $value = null)
      {
          if (is_array($key)) {
              $this->viewData = array_merge($this->viewData, $key);
          } else {
              $this->viewData[$key] = $value;
          }
  
          return $this;
      }
code_tokens: public function with ( $ key , $ value = null ) { if ( is_array ( $ key ) ) { $ this -> viewData = array_merge ( $ this -> viewData , $ key ) ; } else { $ this -> viewData [ $ key ] = $ value ; } return $ this ; }
docstring: Set the view data for the message.
  
  @param  string|array  $key
  @param  mixed   $value
  @return $this
docstring_tokens: Set the view data for the message .