Make apiRequst nextId accessible for api4 constructor
authorColeman Watts <coleman@civicrm.org>
Thu, 23 May 2019 12:52:22 +0000 (08:52 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 23 May 2019 13:11:36 +0000 (09:11 -0400)
Civi/API/Request.php

index b40ece71e73d6efdf67948fd1862523870cecbaa..9a101002a50f6a2947d96001c525b8c0403dfaed 100644 (file)
@@ -115,4 +115,8 @@ class Request {
     return strtolower(\CRM_Utils_String::munge($action));
   }
 
+  public static function getNextId() {
+    return self::$nextId++;
+  }
+
 }