Registers a set of classes, replacing any others previously set.
string $prefix The classes prefix:
array|string $paths The location(s) of the classes:
public function set($prefix, $paths) {
if (!$prefix) {
$this->fallbackDirs = (array) $paths;
return;
}
$this->prefixes[substr($prefix, 0, 1)][$prefix] = (array) $paths;
}