AbstractProvider::setRepository method