Composer\Autoload\ClassLoader::add
Registers a set of PSR-0 directories for a given prefix, either appending or prepending to the ones previously set for this prefix.
Signature
public function add(string
$prefix,
array|string
$paths,
[boolean
$prepend = false] )
Parameters
$prefix
— string- The prefix
$paths
— object- The PSR-0 root directories
$prepend
— boolean- Whether to prepend the directories