public function addNamespaces(array $namespaces)
    {
        foreach ($namespaces as $prefix => $baseDir) {
            $this->addNamespace($prefix, $baseDir);
        }
    }
public function addNamespaces(array $namespaces)
    {
        foreach ($namespaces as $prefix => $baseDir) {
            $this->addNamespace($prefix, $baseDir);
        }
    }
public function addNamespaces ( array $ namespaces ) { foreach ( $ namespaces as $ prefix => $ baseDir ) { $ this -> addNamespace ( $ prefix , $ baseDir ) ; } }
Adds a collection to the stack

@param array $namespaces
@return void
Adds a collection to the stack