public function ApiDoc::setCreatedTime in Apigee API Catalog 8
Same name and namespace in other branches
- 8.2 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 136
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;
}