private function initializeRepositories(array $repositories): void
    {
        foreach ($repositories as $name => $data) {
            $this->repositories[$name] = new Repository($this, $name, $data);
        }
    }
private function initializeRepositories(array $repositories): void
    {
        foreach ($repositories as $name => $data) {
            $this->repositories[$name] = new Repository($this, $name, $data);
        }
    }
private function initializeRepositories ( array $ repositories ) : void { foreach ( $ repositories as $ name => $ data ) { $ this -> repositories [ $ name ] = new Repository ( $ this , $ name , $ data ) ; } }
Initializes the API repositories.

@param array $repositories
Initializes the API repositories .