original_string: public function installViaSubtree()
      {
          return new Process(sprintf(
              'cd %s && git remote add %s %s && git subtree add --prefix=%s --squash %s %s',
              base_path(),
              $this->getComponentName(),
              $this->getRepoUrl(),
              $this->getDestinationPath(),
              $this->getComponentName(),
              $this->getBranch()
          ));
      }
code: public function installViaSubtree()
      {
          return new Process(sprintf(
              'cd %s && git remote add %s %s && git subtree add --prefix=%s --squash %s %s',
              base_path(),
              $this->getComponentName(),
              $this->getRepoUrl(),
              $this->getDestinationPath(),
              $this->getComponentName(),
              $this->getBranch()
          ));
      }
code_tokens: public function installViaSubtree ( ) { return new Process ( sprintf ( 'cd %s && git remote add %s %s && git subtree add --prefix=%s --squash %s %s' , base_path ( ) , $ this -> getComponentName ( ) , $ this -> getRepoUrl ( ) , $ this -> getDestinationPath ( ) , $ this -> getComponentName ( ) , $ this -> getBranch ( ) ) ) ; }
docstring: Install the component via git subtree.
  
  @return \Symfony\Component\Process\Process
docstring_tokens: Install the component via git subtree .