original_string: public function getPluginNamespaces()
      {
          $classNames = [];
  
          foreach ($this->getVendorAndPluginNames() as $vendorName => $vendorList) {
              foreach ($vendorList as $pluginName => $pluginPath) {
                  $namespace = '\\'.$vendorName.'\\'.$pluginName;
                  $namespace = Str::normalizeClassName($namespace);
                  $classNames[$namespace] = $pluginPath;
              }
          }
  
          return $classNames;
      }
code: public function getPluginNamespaces()
      {
          $classNames = [];
  
          foreach ($this->getVendorAndPluginNames() as $vendorName => $vendorList) {
              foreach ($vendorList as $pluginName => $pluginPath) {
                  $namespace = '\\'.$vendorName.'\\'.$pluginName;
                  $namespace = Str::normalizeClassName($namespace);
                  $classNames[$namespace] = $pluginPath;
              }
          }
  
          return $classNames;
      }
code_tokens: public function getPluginNamespaces ( ) { $ classNames = [ ] ; foreach ( $ this -> getVendorAndPluginNames ( ) as $ vendorName => $ vendorList ) { foreach ( $ vendorList as $ pluginName => $ pluginPath ) { $ namespace = '\\' . $ vendorName . '\\' . $ pluginName ; $ namespace = Str :: normalizeClassName ( $ namespace ) ; $ classNames [ $ namespace ] = $ pluginPath ; } } return $ classNames ; }
docstring: Returns a flat array of vendor plugin namespaces and their paths
docstring_tokens: Returns a flat array of vendor plugin namespaces and their paths