You appear to be a bot. Output may be restricted
Description
Registers a set of PSR-0 directories for a given prefix, replacing any others previously set for this prefix.
Usage
$void = ClassLoader::set( $prefix, $paths );
Parameters
- $prefix
- ( string ) required – The prefix
- $paths
- ( string[]|string ) required – The PSR-0 base directories
Returns
void
Source
File name: jetpack/vendor/composer/ClassLoader.php
Lines:
1 to 8 of 8
public function set($prefix, $paths) { if (!$prefix) { $this->fallbackDirsPsr0 = (array) $paths; } else { $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; } }