16 protected $map = array();
21 protected $altered =
false;
33 return isset($this->map[
$class]) ? $this->map[
$class] :
"";
47 if (!isset($this->map[
$class]) || $this->map[$class] !==
$path) {
49 $this->altered =
true;
60 return $this->altered;
70 $this->altered = (bool) $altered;
103 $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.
setPath($class, $path)
Set the path for a class/interface/trait, and mark map as altered.