original_string: protected function processPath($path, $force)
      {
          $existsPath = $this->fs->exists($path);
          $isEmpty = $this->isEmptyDir($path);
  
          if ($existsPath === true && $force === false && $isEmpty === false) {
              throw new \RuntimeException(sprintf('Path "%s" exists and is not empty.', $path));
          }
  
          $existsPath ? $this->clearDir($path) : $this->fs->mkdir($path);
      }
code: protected function processPath($path, $force)
      {
          $existsPath = $this->fs->exists($path);
          $isEmpty = $this->isEmptyDir($path);
  
          if ($existsPath === true && $force === false && $isEmpty === false) {
              throw new \RuntimeException(sprintf('Path "%s" exists and is not empty.', $path));
          }
  
          $existsPath ? $this->clearDir($path) : $this->fs->mkdir($path);
      }
code_tokens: protected function processPath ( $ path , $ force ) { $ existsPath = $ this -> fs -> exists ( $ path ) ; $ isEmpty = $ this -> isEmptyDir ( $ path ) ; if ( $ existsPath === true && $ force === false && $ isEmpty === false ) { throw new \ RuntimeException ( sprintf ( 'Path "%s" exists and is not empty.' , $ path ) ) ; } $ existsPath ? $ this -> clearDir ( $ path ) : $ this -> fs -> mkdir ( $ path ) ; }
docstring: Process the path of the future site.
  
  @param string $path
  @param bool   $force
  
  @throws RuntimeException If the argument force is set to true and the
  path exists and is not empty
docstring_tokens: Process the path of the future site .