original_string: protected function generatePrivateKey($path, $passphrase)
      {
          if ($passphrase) {
              $processArgs = sprintf('genrsa -out %s/private.pem -aes256 -passout pass:%s 4096', $path, $passphrase);
          } else {
              $processArgs = sprintf('genrsa -out %s/private.pem 4096', $path);
          }
  
          $this->generateKey($processArgs);
      }
code: protected function generatePrivateKey($path, $passphrase)
      {
          if ($passphrase) {
              $processArgs = sprintf('genrsa -out %s/private.pem -aes256 -passout pass:%s 4096', $path, $passphrase);
          } else {
              $processArgs = sprintf('genrsa -out %s/private.pem 4096', $path);
          }
  
          $this->generateKey($processArgs);
      }
code_tokens: protected function generatePrivateKey ( $ path , $ passphrase ) { if ( $ passphrase ) { $ processArgs = sprintf ( 'genrsa -out %s/private.pem -aes256 -passout pass:%s 4096' , $ path , $ passphrase ) ; } else { $ processArgs = sprintf ( 'genrsa -out %s/private.pem 4096' , $ path ) ; } $ this -> generateKey ( $ processArgs ) ; }
docstring: Generate a RSA private key.
  
  @param string          $path
  @param string          $passphrase
  @param OutputInterface $output
  
  @throws ProcessFailedException
docstring_tokens: Generate a RSA private key .