public function addRepository(
        string $appName,
        string $indexName,
        TransformableRepository $repository
    ) {
        $this->repositories[$appName][$indexName] = $repository;
    }
public function addRepository(
        string $appName,
        string $indexName,
        TransformableRepository $repository
    ) {
        $this->repositories[$appName][$indexName] = $repository;
    }
public function addRepository ( string $ appName , string $ indexName , TransformableRepository $ repository ) { $ this -> repositories [ $ appName ] [ $ indexName ] = $ repository ; }
Add repository.

@param string                  $appName
@param string                  $indexName
@param TransformableRepository $repository
Add repository .