Interface EnvironmentRepositoryFactory<T extends EnvironmentRepository,​P extends EnvironmentRepositoryProperties>