Example #1
0
 public static function isLockedCall($api, $scope, $owner = 0)
 {
     // Generate the hash based on the func args
     $hash = BaseApi::makeCallHash($api, $scope, $owner);
     if (\Cache::has('api_lock_' . $hash)) {
         return true;
     } else {
         return false;
     }
 }