You are here

public function License::getCreatedTime in Commerce License 8.2

Gets the License creation timestamp.

Return value

int Creation timestamp of the License.

Overrides LicenseInterface::getCreatedTime

File

src/Entity/License.php, line 223

Class

License
Defines the License entity.

Namespace

Drupal\commerce_license\Entity

Code

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