original_string: public function setBoth($key, $value = null): void
      {
          $this->_controller->set($key, $value);
          $this->setJson($key, $value);
      }
code: public function setBoth($key, $value = null): void
      {
          $this->_controller->set($key, $value);
          $this->setJson($key, $value);
      }
code_tokens: public function setBoth ( $ key , $ value = null ) : void { $ this -> _controller -> set ( $ key , $ value ) ; $ this -> setJson ( $ key , $ value ) ; }
docstring: Set a variable to both the frontend controller and the backend view
  
  @param string|array $key string key or array of key=>value
  @param mixed $value var value
  @return void
docstring_tokens: Set a variable to both the frontend controller and the backend view