public function registerPrefixes(array $classes)
    {
        foreach ($classes as $prefix => $locations) {
            $this->prefixes[$prefix] = (array) $locations;
        }
    }
public function registerPrefixes(array $classes)
    {
        foreach ($classes as $prefix => $locations) {
            $this->prefixes[$prefix] = (array) $locations;
        }
    }
public function registerPrefixes ( array $ classes ) { foreach ( $ classes as $ prefix => $ locations ) { $ this -> prefixes [ $ prefix ] = ( array ) $ locations ; } }
Registers an array of classes using the PEAR naming convention.

@param array $classes An array of classes (prefixes as keys and locations as values)

@api
Registers an array of classes using the PEAR naming convention .