protected function ForcePasswordChangeService::getRequestTime in Force Password Change 8
Same name and namespace in other branches
- 2.0.x src/Service/ForcePasswordChangeService.php \Drupal\force_password_change\Service\ForcePasswordChangeService::getRequestTime()
* Retrieve the timestamp for the current request. Spun out into a protected function * to allow for overriding in Unit Tests. * *
Return value
int * A UNIX timestamp representing the time of the current request
3 calls to ForcePasswordChangeService::getRequestTime()
1 method overrides ForcePasswordChangeService::getRequestTime()
- TestForcePasswordChangeService::getRequestTime in tests/
src/ Unit/ Service/ TestForcePasswordChangeService.php - * Retrieve the timestamp for the current request. Spun out into a protected function * to allow for overriding in Unit Tests. * *
File
- src/
Service/ ForcePasswordChangeService.php, line 336
Class
Namespace
Drupal\force_password_change\ServiceCode
protected function getRequestTime() {
return REQUEST_TIME;
}