Add all vs all mode

Change-Id: I4a379704ab869e5301ae211ae31ee0f8d66620ee
diff --git a/credentials.php b/credentials.php
index 600bfa5..409409f 100644
--- a/credentials.php
+++ b/credentials.php
@@ -28,4 +28,12 @@
 	public static function adminToken() {
 		return getenv('ADMIN_TOKEN');
 	}
+
+	public static function isAllVsAllModeEnabled() {
+		return self::allVsAllMode() == 1 || self::allVsAllMode() == 'true';
+	}
+
+	public static function allVsAllMode() {
+		return getenv('ALL_VS_ALL_MODE');
+	}
 };