Composer\Autoload\ClassLoader::setPsr4
Registers a set of PSR-4 directories for a given namespace, replacing any others previously set for this namespace.
Signature
public function setPsr4(string
$prefix,
array|string
$paths )
Parameters
$prefix
— string- The prefix/namespace, with trailing '\\'
$paths
— object- The PSR-4 base directories