original_string: public function set($key, $value = null)
      {
          $this->_email->setViewVars(is_string($key) ? [$key => $value] : $key);
  
          return $this;
      }
code: public function set($key, $value = null)
      {
          $this->_email->setViewVars(is_string($key) ? [$key => $value] : $key);
  
          return $this;
      }
code_tokens: public function set ( $ key , $ value = null ) { $ this -> _email -> setViewVars ( is_string ( $ key ) ? [ $ key => $ value ] : $ key ) ; return $ this ; }
docstring: Sets email view vars.
  
  @param string|array $key Variable name or hash of view variables.
  @param mixed $value View variable value.
  @return $this
docstring_tokens: Sets email view vars .