original_string: private function ensureProcessIsStarted(): void
      {
          if (is_resource($this->process) === false) {
              $this->startProcess();
  
              $this->handleStartupErrors();
          }
      }
code: private function ensureProcessIsStarted(): void
      {
          if (is_resource($this->process) === false) {
              $this->startProcess();
  
              $this->handleStartupErrors();
          }
      }
code_tokens: private function ensureProcessIsStarted ( ) : void { if ( is_resource ( $ this -> process ) === false ) { $ this -> startProcess ( ) ; $ this -> handleStartupErrors ( ) ; } }
docstring: Makes sure that the process is actually started, and if not, starts it,
  assigns the stream pipes, and handles startup errors, if any.
docstring_tokens: Makes sure that the process is actually started and if not starts it assigns the stream pipes and handles startup errors if any .