Service/Storage/SimpleCache.php 1 location
|
@@ 64-72 (lines=9) @@
|
| 61 |
|
return true; |
| 62 |
|
} |
| 63 |
|
|
| 64 |
|
private function createRateInfo(array $info) |
| 65 |
|
{ |
| 66 |
|
$rateLimitInfo = new RateLimitInfo(); |
| 67 |
|
$rateLimitInfo->setLimit($info['limit']); |
| 68 |
|
$rateLimitInfo->setCalls($info['calls']); |
| 69 |
|
$rateLimitInfo->setResetTimestamp($info['reset']); |
| 70 |
|
|
| 71 |
|
return $rateLimitInfo; |
| 72 |
|
} |
| 73 |
|
} |
| 74 |
|
|
Service/Storage/DoctrineCache.php 1 location
|
@@ 65-73 (lines=9) @@
|
| 62 |
|
return true; |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
private function createRateInfo(array $info) |
| 66 |
|
{ |
| 67 |
|
$rateLimitInfo = new RateLimitInfo(); |
| 68 |
|
$rateLimitInfo->setLimit($info['limit']); |
| 69 |
|
$rateLimitInfo->setCalls($info['calls']); |
| 70 |
|
$rateLimitInfo->setResetTimestamp($info['reset']); |
| 71 |
|
|
| 72 |
|
return $rateLimitInfo; |
| 73 |
|
} |
| 74 |
|
} |
| 75 |
|
|
Service/Storage/Memcache.php 1 location
|
@@ 61-69 (lines=9) @@
|
| 58 |
|
return true; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
private function createRateInfo(array $info) |
| 62 |
|
{ |
| 63 |
|
$rateLimitInfo = new RateLimitInfo(); |
| 64 |
|
$rateLimitInfo->setLimit($info['limit']); |
| 65 |
|
$rateLimitInfo->setCalls($info['calls']); |
| 66 |
|
$rateLimitInfo->setResetTimestamp($info['reset']); |
| 67 |
|
|
| 68 |
|
return $rateLimitInfo; |
| 69 |
|
} |
| 70 |
|
} |
| 71 |
|
|