original_string: public static function fromProcess(Process $process)
      {
          $message        = 'PHP Code failed to execute. Error: "%s"';
          $processOutput  = $process->getErrorOutput() ? $process->getErrorOutput() : $process->getOutput();
          return new static(sprintf($message, $processOutput));
      }
code: public static function fromProcess(Process $process)
      {
          $message        = 'PHP Code failed to execute. Error: "%s"';
          $processOutput  = $process->getErrorOutput() ? $process->getErrorOutput() : $process->getOutput();
          return new static(sprintf($message, $processOutput));
      }
code_tokens: public static function fromProcess ( Process $ process ) { $ message = 'PHP Code failed to execute. Error: "%s"' ; $ processOutput = $ process -> getErrorOutput ( ) ? $ process -> getErrorOutput ( ) : $ process -> getOutput ( ) ; return new static ( sprintf ( $ message , $ processOutput ) ) ; }
docstring: Static constructor to create an instance from a failed `Symfony\Component\Process\Process` instance.
  
  @param Process $process The `Symfony\Component\Process\Process` instance which failed.
  @return static
docstring_tokens: Static constructor to create an instance from a failed Symfony \ Component \ Process \ Process instance .