You are here

public function Campaigns::getCreatedAt in SimpleAds 8

1 call to Campaigns::getCreatedAt()
Campaigns::save in src/Campaigns.php

File

src/Campaigns.php, line 90

Class

Campaigns
Campaigns utility class.

Namespace

Drupal\simpleads

Code

public function getCreatedAt() {
  return !empty($this->created_at) ? $this->created_at : time();
}