public function getRepository(string $name): RepositoryInterface
    {
        if (isset($this->repositories[$name])) {
            return $this->repositories[$name];
        }

        throw new \LogicException(sprintf('Unknown repository "%s"', $name));
    }
public function getRepository(string $name): RepositoryInterface
    {
        if (isset($this->repositories[$name])) {
            return $this->repositories[$name];
        }

        throw new \LogicException(sprintf('Unknown repository "%s"', $name));
    }
public function getRepository ( string $ name ) : RepositoryInterface { if ( isset ( $ this -> repositories [ $ name ] ) ) { return $ this -> repositories [ $ name ] ; } throw new \ LogicException ( sprintf ( 'Unknown repository "%s"' , $ name ) ) ; }
Get links' repository by name

@param  string $name
@return RepositoryInterface
Get links repository by name