20 protected $altered =
false;
34 return $this->map[
$class] ??
'';
50 if (!isset($this->map[
$class]) || $this->map[$class] !==
$path) {
52 $this->altered =
true;
64 return $this->altered;
75 $this->altered = (bool) $altered;
110 $this->map = array_merge($this->map, $map);
getAltered()
Was this map altered by the class loader?
setMap(array $map)
Set the full map.
getMap()
Get the full map.
getPath($class)
Get the path for a class/interface/trait.
mergeMap(array $map)
Merge a class map with the current map.
setAltered($altered)
Set the altered flag.
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.