You are here

public function CloudFlareTimestampInterface::now in CloudFlare 8

Gets the current DateTime.

Return value

\DateTime DateTime representing the current time.

1 method overrides CloudFlareTimestampInterface::now()
Timestamp::now in src/Timestamp.php
Gets the current DateTime.

File

src/CloudFlareTimestampInterface.php, line 16

Class

CloudFlareTimestampInterface
Provides an injectable facility for getting the current time.

Namespace

Drupal\cloudflare

Code

public function now();