You are here

public function Log::getCreatedTime in Commerce Core 8.2

Gets the log creation timestamp.

Return value

int Creation timestamp of the log.

Overrides LogInterface::getCreatedTime

File

modules/log/src/Entity/Log.php, line 136

Class

Log
Defines the log entity class.

Namespace

Drupal\commerce_log\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}