You are here

public function ApiDoc::getCreatedTime in Apigee API Catalog 8

Same name and namespace in other branches
  1. 8.2 src/Entity/ApiDoc.php \Drupal\apigee_api_catalog\Entity\ApiDoc::getCreatedTime()

Gets the API Doc creation timestamp.

Return value

int Creation timestamp of the API Doc.

Overrides ApiDocInterface::getCreatedTime

File

src/Entity/ApiDoc.php, line 129

Class

ApiDoc
Defines the API Doc entity.

Namespace

Drupal\apigee_api_catalog\Entity

Code

public function getCreatedTime() : int {
  return $this
    ->get('created')->value;
}