original_string: public function onTranscodeComplete(TranscodeEvent $e)
      {
          $outpath = $e->getOutputPath();
  
          $totalTime = microtime(true) - $this->startTime;
          $formatter = $this->getFormatter();
          $msg = sprintf(
              "Transcode completed in %s seconds.",
              $formatter->formatBlock(round($totalTime, 4), 'info')
          );
          $this->getOutput()->writeln($msg);
  
          $msg = sprintf(
              "Created new file %s",
              $formatter->formatBlock($outpath, 'info')
          );
          $this->getOutput()->writeln($msg);
      }
code: public function onTranscodeComplete(TranscodeEvent $e)
      {
          $outpath = $e->getOutputPath();
  
          $totalTime = microtime(true) - $this->startTime;
          $formatter = $this->getFormatter();
          $msg = sprintf(
              "Transcode completed in %s seconds.",
              $formatter->formatBlock(round($totalTime, 4), 'info')
          );
          $this->getOutput()->writeln($msg);
  
          $msg = sprintf(
              "Created new file %s",
              $formatter->formatBlock($outpath, 'info')
          );
          $this->getOutput()->writeln($msg);
      }
code_tokens: public function onTranscodeComplete ( TranscodeEvent $ e ) { $ outpath = $ e -> getOutputPath ( ) ; $ totalTime = microtime ( true ) - $ this -> startTime ; $ formatter = $ this -> getFormatter ( ) ; $ msg = sprintf ( "Transcode completed in %s seconds." , $ formatter -> formatBlock ( round ( $ totalTime , 4 ) , 'info' ) ) ; $ this -> getOutput ( ) -> writeln ( $ msg ) ; $ msg = sprintf ( "Created new file %s" , $ formatter -> formatBlock ( $ outpath , 'info' ) ) ; $ this -> getOutput ( ) -> writeln ( $ msg ) ; }
docstring: Write to output that a process has completed.
docstring_tokens: Write to output that a process has completed .