You are here

public function Feed::getCreatedTime in Feeds 8.3

Returns the feed creation timestamp.

Return value

int Creation timestamp of the feed.

Overrides FeedInterface::getCreatedTime

File

src/Entity/Feed.php, line 140

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

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