original_string: public function getPackageManager($siteDir, IOInterface $io)
      {
          $embeddedComposer = $this->getEmbeddedComposer($siteDir, 'composer.json', 'vendor');
          $embeddedComposer->processAdditionalAutoloads();
  
          return new PackageManager($embeddedComposer, $io);
      }
code: public function getPackageManager($siteDir, IOInterface $io)
      {
          $embeddedComposer = $this->getEmbeddedComposer($siteDir, 'composer.json', 'vendor');
          $embeddedComposer->processAdditionalAutoloads();
  
          return new PackageManager($embeddedComposer, $io);
      }
code_tokens: public function getPackageManager ( $ siteDir , IOInterface $ io ) { $ embeddedComposer = $ this -> getEmbeddedComposer ( $ siteDir , 'composer.json' , 'vendor' ) ; $ embeddedComposer -> processAdditionalAutoloads ( ) ; return new PackageManager ( $ embeddedComposer , $ io ) ; }
docstring: Returns an instance of PackageManager.
  It is configured to read a composer.json file.
  
  @param string $siteDir Root directory of an Spress site
  
  @return PackageManager
docstring_tokens: Returns an instance of PackageManager . It is configured to read a composer . json file .