public function addRepositories(array $repositories)
    {
        foreach ($repositories as $key => $repository) {
            $this->addRepository($key, $repository);
        }
        return $this;
    }
public function addRepositories(array $repositories)
    {
        foreach ($repositories as $key => $repository) {
            $this->addRepository($key, $repository);
        }
        return $this;
    }
public function addRepositories ( array $ repositories ) { foreach ( $ repositories as $ key => $ repository ) { $ this -> addRepository ( $ key , $ repository ) ; } return $ this ; }
Adds multiple repositories

@param   array      $repositories    The repositories (key => repository)
@return  RepositoryRegistry
Adds multiple repositories