original_string: private static function getAdapterClassName($adapterName)
      {
          $className = 'Piwik\Db\Adapter\\' . str_replace(' ', '\\', ucwords(str_replace(array('_', '\\'), ' ', strtolower($adapterName))));
          if (!class_exists($className)) {
              throw new \Exception(sprintf("Adapter '%s' is not valid. Maybe check that your Matomo configuration files in config/*.ini.php are readable by the webserver.", $adapterName));
          }
          return $className;
      }
code: private static function getAdapterClassName($adapterName)
      {
          $className = 'Piwik\Db\Adapter\\' . str_replace(' ', '\\', ucwords(str_replace(array('_', '\\'), ' ', strtolower($adapterName))));
          if (!class_exists($className)) {
              throw new \Exception(sprintf("Adapter '%s' is not valid. Maybe check that your Matomo configuration files in config/*.ini.php are readable by the webserver.", $adapterName));
          }
          return $className;
      }
code_tokens: private static function getAdapterClassName ( $ adapterName ) { $ className = 'Piwik\Db\Adapter\\' . str_replace ( ' ' , '\\' , ucwords ( str_replace ( array ( '_' , '\\' ) , ' ' , strtolower ( $ adapterName ) ) ) ) ; if ( ! class_exists ( $ className ) ) { throw new \ Exception ( sprintf ( "Adapter '%s' is not valid. Maybe check that your Matomo configuration files in config/*.ini.php are readable by the webserver." , $ adapterName ) ) ; } return $ className ; }
docstring: Get adapter class name
  
  @param string $adapterName
  @return string
  @throws \Exception
docstring_tokens: Get adapter class name