<?php namespace MailPoet\Doctrine\EntityTraits; if (!defined('ABSPATH')) exit; use DateTimeInterface; use MailPoetVendor\Doctrine\ORM\Mapping as ORM; trait UpdatedAtTrait { /** * @ORM\Column(type="datetimetz") * @var DateTimeInterface */ private $updatedAt; /** @return DateTimeInterface */ public function getUpdatedAt() { return $this->updatedAt; } public function setUpdatedAt(DateTimeInterface $updatedAt) { $this->updatedAt = $updatedAt; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
AutoincrementedIdTrait.php | File | 449 B | 0644 |
|
CreatedAtTrait.php | File | 485 B | 0644 |
|
DeletedAtTrait.php | File | 542 B | 0644 |
|
SafeToOneAssociationLoadTrait.php | File | 917 B | 0644 |
|
UpdatedAtTrait.php | File | 485 B | 0644 |
|
index.php | File | 0 B | 0644 |
|