public function getRepository(string $key): OptionRepository
    {
        if (! $this->has($key)) {
            throw UnknownOptionKey::fromKey($key);
        }

        return $this->map[$key][self::SUBKEY_REPOSITORY];
    }
public function getRepository(string $key): OptionRepository
    {
        if (! $this->has($key)) {
            throw UnknownOptionKey::fromKey($key);
        }

        return $this->map[$key][self::SUBKEY_REPOSITORY];
    }
public function getRepository ( string $ key ) : OptionRepository { if ( ! $ this -> has ( $ key ) ) { throw UnknownOptionKey :: fromKey ( $ key ) ; } return $ this -> map [ $ key ] [ self :: SUBKEY_REPOSITORY ] ; }
Get the associated repository for a specific key.

@since 0.1.0

@param string $key Key to fetch the repository for.

@return OptionRepository The repository that is associated with the requested key.
Get the associated repository for a specific key .