You are here

interface CloudFlareTimestampInterface in CloudFlare 8

Provides an injectable facility for getting the current time.

Hierarchy

Expanded class hierarchy of CloudFlareTimestampInterface

All classes that implement CloudFlareTimestampInterface

File

src/CloudFlareTimestampInterface.php, line 8

Namespace

Drupal\cloudflare
View source
interface CloudFlareTimestampInterface {

  /**
   * Gets the current DateTime.
   *
   * @return \DateTime
   *   DateTime representing the current time.
   */
  public function now();

}

Members

Namesort descending Modifiers Type Description Overrides
CloudFlareTimestampInterface::now public function Gets the current DateTime. 1