You are here

public function TeamInvitation::getCreatedTime in Apigee Edge 8

Returns the creation date for an invitation.

Return value

int Timestamp for the invitation creation date.

Overrides TeamInvitationInterface::getCreatedTime

1 call to TeamInvitation::getCreatedTime()
TeamInvitation::preSave in modules/apigee_edge_teams/src/Entity/TeamInvitation.php
Acts on an entity before the presave hook is invoked.

File

modules/apigee_edge_teams/src/Entity/TeamInvitation.php, line 222

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

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