interface CloudFlareTimestampInterface in CloudFlare 8
Provides an injectable facility for getting the current time.
Hierarchy
- interface \Drupal\cloudflare\CloudFlareTimestampInterface
Expanded class hierarchy of CloudFlareTimestampInterface
All classes that implement CloudFlareTimestampInterface
File
- src/
CloudFlareTimestampInterface.php, line 8
Namespace
Drupal\cloudflareView source
interface CloudFlareTimestampInterface {
/**
* Gets the current DateTime.
*
* @return \DateTime
* DateTime representing the current time.
*/
public function now();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CloudFlareTimestampInterface:: |
public | function | Gets the current DateTime. | 1 |