original_string: protected function extractClassFromFile($path)
      {
          $fileContent = file_get_contents($path);
          $matches = [];
          $pattern = '/Cms\S+_\S+Class/';
          preg_match($pattern, $fileContent, $matches);
  
          if (!empty($matches[0])) {
              return $matches[0];
          }
  
          return null;
      }
code: protected function extractClassFromFile($path)
      {
          $fileContent = file_get_contents($path);
          $matches = [];
          $pattern = '/Cms\S+_\S+Class/';
          preg_match($pattern, $fileContent, $matches);
  
          if (!empty($matches[0])) {
              return $matches[0];
          }
  
          return null;
      }
code_tokens: protected function extractClassFromFile ( $ path ) { $ fileContent = file_get_contents ( $ path ) ; $ matches = [ ] ; $ pattern = '/Cms\S+_\S+Class/' ; preg_match ( $ pattern , $ fileContent , $ matches ) ; if ( ! empty ( $ matches [ 0 ] ) ) { return $ matches [ 0 ] ; } return null ; }
docstring: Extracts the class name from a cache file
  @return string
docstring_tokens: Extracts the class name from a cache file