public function Payment::getCreatedTime in Payment 8.2
Returns the timestamp of the entity creation.
Return value
int
Overrides PaymentInterface::getCreatedTime
File
- src/
Entity/ Payment.php, line 84
Class
- Payment
- Defines a payment entity.
Namespace
Drupal\payment\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}