original_string: protected function deploy($server, $deployer, OutputInterface $output)
      {
          $plum    = $this->getContainer()->get('madalynn.plum');
          $options = $plum->getOptions($server);
  
          $dryrun = '';
          if (isset($options['dry_run']) && $options['dry_run']) {
              $dryrun = '<comment>(dry run mode)</comment>';
          }
  
          $output->writeln(sprintf('Starting %s to <info>%s</info> %s', $deployer, $server, $dryrun));
  
          // Let's go!
          $plum->deploy($server, $deployer, $options);
  
          $output->writeln(sprintf('Successfully %s to <info>%s</info>', $deployer, $server));
      }
code: protected function deploy($server, $deployer, OutputInterface $output)
      {
          $plum    = $this->getContainer()->get('madalynn.plum');
          $options = $plum->getOptions($server);
  
          $dryrun = '';
          if (isset($options['dry_run']) && $options['dry_run']) {
              $dryrun = '<comment>(dry run mode)</comment>';
          }
  
          $output->writeln(sprintf('Starting %s to <info>%s</info> %s', $deployer, $server, $dryrun));
  
          // Let's go!
          $plum->deploy($server, $deployer, $options);
  
          $output->writeln(sprintf('Successfully %s to <info>%s</info>', $deployer, $server));
      }
code_tokens: protected function deploy ( $ server , $ deployer , OutputInterface $ output ) { $ plum = $ this -> getContainer ( ) -> get ( 'madalynn.plum' ) ; $ options = $ plum -> getOptions ( $ server ) ; $ dryrun = '' ; if ( isset ( $ options [ 'dry_run' ] ) && $ options [ 'dry_run' ] ) { $ dryrun = '<comment>(dry run mode)</comment>' ; } $ output -> writeln ( sprintf ( 'Starting %s to <info>%s</info> %s' , $ deployer , $ server , $ dryrun ) ) ; // Let's go! $ plum -> deploy ( $ server , $ deployer , $ options ) ; $ output -> writeln ( sprintf ( 'Successfully %s to <info>%s</info>' , $ deployer , $ server ) ) ; }
docstring: Deploys the application to another server using a deployer.
  
  @param string          $server   The server name
  @param string          $deployer The deployer name
  @param OutputInterface $output   The output object
docstring_tokens: Deploys the application to another server using a deployer .