public function License::setRenewedTime in Commerce License 8.2
Sets the renewal timestamp.
Parameters
int $timestamp: The renewal timestamp.
Return value
$this
Overrides LicenseInterface::setRenewedTime
1 call to License::setRenewedTime()
- License::preSave in src/
Entity/ License.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ License.php, line 215
Class
- License
- Defines the License entity.
Namespace
Drupal\commerce_license\EntityCode
public function setRenewedTime($timestamp) {
$this
->set('renewed', $timestamp);
return $this;
}