MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / Psr4Paths

Interface Psr4Paths

src/composer.rs:329–332  ·  view source on GitHub ↗

Uniform access to the path strings inside a PSR-4 value, regardless of whether it came from `autoload` or `autoload-dev`.

Source from the content-addressed store, hash-verified

327/// Uniform access to the path strings inside a PSR-4 value, regardless
328/// of whether it came from `autoload` or `autoload-dev`.
329trait Psr4Paths {
330 /// Call `f` for each directory path in this value.
331 fn for_each_path(&self, f: impl FnMut(&str));
332}
333
334macro_rules! impl_psr4_paths {
335 ($ty:ty) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected