20 protected $altered =
false;
34 return $this->map[
$class] ??
'';
52 $this->altered =
true;
64 return $this->altered;
75 $this->altered = (bool) $altered;
110 $this->map = array_merge($this->map, $map);
A map of class names to absolute file paths.
setPath($class, $path)
Set the path for a class/interface/trait, and mark map as altered.
setMap(array $map)
Set the full map.
mergeMap(array $map)
Merge a class map with the current map.
getMap()
Get the full map.
getPath($class)
Get the path for a class/interface/trait.
setAltered($altered)
Set the altered flag.
getAltered()
Was this map altered by the class loader?