public function set($key, $value = null)
    {
        $this->_email->setViewVars(is_string($key) ? [$key => $value] : $key);

        return $this;
    }
public function set($key, $value = null)
    {
        $this->_email->setViewVars(is_string($key) ? [$key => $value] : $key);

        return $this;
    }
public function set ( $ key , $ value = null ) { $ this -> _email -> setViewVars ( is_string ( $ key ) ? [ $ key => $ value ] : $ key ) ; return $ this ; }
Sets email view vars.

@param string|array $key Variable name or hash of view variables.
@param mixed $value View variable value.
@return $this
Sets email view vars .