public function Pet::getCreatedTime in Previewable email templates 8.3
Gets the Pet creation timestamp.
Return value
int Creation timestamp of the Pet.
Overrides PetInterface::getCreatedTime
File
- src/
Entity/ Pet.php, line 458
Class
- Pet
- Defines the pet entity.
Namespace
Drupal\pet\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}