original_string: public function getRootDirectory()
      {
          $config = $this->composer->getConfig();
          
          return str_replace($config->get('vendor-dir', Config::RELATIVE_PATHS), '', $config->get('vendor-dir'));
      }
code: public function getRootDirectory()
      {
          $config = $this->composer->getConfig();
          
          return str_replace($config->get('vendor-dir', Config::RELATIVE_PATHS), '', $config->get('vendor-dir'));
      }
code_tokens: public function getRootDirectory ( ) { $ config = $ this -> composer -> getConfig ( ) ; return str_replace ( $ config -> get ( 'vendor-dir' , Config :: RELATIVE_PATHS ) , '' , $ config -> get ( 'vendor-dir' ) ) ; }
docstring: Get the root directory.
  
  @return string
docstring_tokens: Get the root directory .