ClassLoader::setPsr4( string $prefix, string[]|string $paths )

Registers a set of PSR-4 directories for a given namespace, replacing any others previously set for this namespace.


Parameters Parameters

$prefix

(Required) The prefix/namespace, with trailing ''

$paths

(Required) The PSR-4 base directories


Top ↑

Return Return

(void)


Top ↑

Source Source

File: vendor/composer/ClassLoader.php