public function ApiDoc::setCreatedTime in Apigee API Catalog 8.2
Same name and namespace in other branches
- 8 src/Entity/ApiDoc.php \Drupal\apigee_api_catalog\Entity\ApiDoc::setCreatedTime()
Sets the API Doc creation timestamp.
Parameters
int $timestamp: The API Doc creation timestamp.
Return value
\Drupal\apigee_api_catalog\Entity\ApiDocInterface The called API Doc entity.
Overrides ApiDocInterface::setCreatedTime
File
- src/
Entity/ ApiDoc.php, line 132
Class
- ApiDoc
- Defines the API Doc entity.
Namespace
Drupal\apigee_api_catalog\EntityCode
public function setCreatedTime(int $timestamp) : ApiDocInterface {
$this
->set('created', $timestamp);
return $this;
}