original_string: public function addPackage($package, $version)
      {
          $config = $this->getContent();
          $config['require'][$package] = $version;
          $this->setContent($config);
      }
code: public function addPackage($package, $version)
      {
          $config = $this->getContent();
          $config['require'][$package] = $version;
          $this->setContent($config);
      }
code_tokens: public function addPackage ( $ package , $ version ) { $ config = $ this -> getContent ( ) ; $ config [ 'require' ] [ $ package ] = $ version ; $ this -> setContent ( $ config ) ; }
docstring: Add the package into composer requirements.
  
  @param string $package
  @param string $version
docstring_tokens: Add the package into composer requirements .