public function State::getApiRateCount in CloudFlare 8
Get the count of purges done in the past 5 minutes.
Return value
int Count of purges done in the past 5 minutes
Overrides CloudFlareStateInterface::getApiRateCount
File
- src/
State.php, line 100
Class
- State
- Tracks rate limits associated with CloudFlare Api.
Namespace
Drupal\cloudflareCode
public function getApiRateCount() {
$count = $this->state
->get(self::API_RATE_COUNT);
return $count;
}