pub trait ClassResolver: Send + Sync {
// Required method
fn resolve(&self, fqcn: &str) -> Option<PathBuf>;
}Expand description
Pluggable strategy for mapping a fully-qualified class name to the file
that should define it. The analyzer never touches vendor/ or the
filesystem on its own — it asks a ClassResolver when a symbol is needed.
mir_analyzer::Psr4Map is the built-in implementation for Composer-based
projects. Consumers with non-Composer conventions (WordPress, Drupal, a
custom autoloader, a workspace-walk index) supply their own.