original_string: protected function buildProcess()
      {
          if (!\count($this->arguments)) {
              throw new LogicException('You must add command arguments before the process can build.');
          }
  
          $process = new Process($this->arguments, $this->workingDirectory);
  
          $process->setCommandLine($process->getCommandLine());
  
          return $process;
      }
code: protected function buildProcess()
      {
          if (!\count($this->arguments)) {
              throw new LogicException('You must add command arguments before the process can build.');
          }
  
          $process = new Process($this->arguments, $this->workingDirectory);
  
          $process->setCommandLine($process->getCommandLine());
  
          return $process;
      }
code_tokens: protected function buildProcess ( ) { if ( ! \ count ( $ this -> arguments ) ) { throw new LogicException ( 'You must add command arguments before the process can build.' ) ; } $ process = new Process ( $ this -> arguments , $ this -> workingDirectory ) ; $ process -> setCommandLine ( $ process -> getCommandLine ( ) ) ; return $ process ; }
docstring: Build the the command line process.
  
  @return Process
  
  @throws LogicException In case no arguments have been provided.
docstring_tokens: Build the the command line process .