You are here

public function PaymentStatusBase::setCreated in Payment 8.2

Sets the created date and time.

Parameters

string $created: A Unix timestamp. *

Return value

static

Overrides PaymentStatusInterface::setCreated

File

src/Plugin/Payment/Status/PaymentStatusBase.php, line 110

Class

PaymentStatusBase
Provides a base payment status.

Namespace

Drupal\payment\Plugin\Payment\Status

Code

public function setCreated($created) {
  $this->configuration['created'] = $created;
  return $this;
}