public function Subscription::setCreatedTime in Commerce Recurring Framework 8
Sets the created timestamp.
Parameters
int $timestamp: The created timestamp.
Return value
$this
Overrides SubscriptionInterface::setCreatedTime
File
- src/
Entity/ Subscription.php, line 416
Class
- Subscription
- Defines the subscription entity.
Namespace
Drupal\commerce_recurring\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}