Parse PHP source text, cache the results in `uri_classes_index`/`use_map`/`namespace_map`, and return the extracted classes. This is the single canonical implementation of the "parse → cache" pipeline. All code paths that need to parse PHP content and store the results (file-based resolution, stub resolution, implementation scanning) funnel through here so the caching logic stays consistent.
(
&self,
content: &str,
uri: &str,
)
| 318 | /// the results (file-based resolution, stub resolution, implementation |
| 319 | /// scanning) funnel through here so the caching logic stays consistent. |
| 320 | pub(crate) fn parse_and_cache_content( |
| 321 | &self, |
| 322 | content: &str, |
| 323 | uri: &str, |
| 324 | ) -> Option<Vec<Arc<ClassInfo>>> { |
| 325 | self.parse_and_cache_content_versioned(content, uri, None) |
| 326 | } |
| 327 | |
| 328 | /// Version-aware variant of [`parse_and_cache_content`]. |
| 329 | /// |
no test coverage detected