public function PhoneNumberVerification::getCreatedTime in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Entity/PhoneNumberVerification.php \Drupal\sms\Entity\PhoneNumberVerification::getCreatedTime()
- 2.1.x src/Entity/PhoneNumberVerification.php \Drupal\sms\Entity\PhoneNumberVerification::getCreatedTime()
Gets the phone number verification creation timestamp.
Return value
int Creation timestamp of the phone number verification.
Overrides PhoneNumberVerificationInterface::getCreatedTime
File
- src/
Entity/ PhoneNumberVerification.php, line 44
Class
- PhoneNumberVerification
- Defines the phone number verification entity.
Namespace
Drupal\sms\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}