File "UpdatedAtTrait.php"

Full Path: /home/warrior1/public_html/languages/wp-content/plugins/mailpoet/lib/Doctrine/EntityTraits/UpdatedAtTrait.php
File size: 485 bytes
MIME-type: text/x-php
Charset: utf-8

<?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;
  }
}