public function RateLimit::isExpired in RESTful 7.2
Checks if the entity is expired.
File
- src/
RateLimit/ Entity/ RateLimit.php, line 37 - Contains Drupal\restful\RateLimit\Entity\RateLimit.
Class
Namespace
Drupal\restful\RateLimit\EntityCode
public function isExpired() {
return REQUEST_TIME > $this->expiration;
}