From: Coleman Watts Date: Thu, 23 May 2019 12:52:22 +0000 (-0400) Subject: Make apiRequst nextId accessible for api4 constructor X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6e80d3a5400d40eb1c0b2068571c866858465085;p=civicrm-core.git Make apiRequst nextId accessible for api4 constructor --- diff --git a/Civi/API/Request.php b/Civi/API/Request.php index b40ece71e7..9a101002a5 100644 --- a/Civi/API/Request.php +++ b/Civi/API/Request.php @@ -115,4 +115,8 @@ class Request { return strtolower(\CRM_Utils_String::munge($action)); } + public static function getNextId() { + return self::$nextId++; + } + }