File "CreatedAtTrait.php"

Full Path: /home/warrior1/public_html/wp-content/plugins/mailpoet/lib/Doctrine/EntityTraits/CreatedAtTrait.php
File size: 496 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 CreatedAtTrait {
  /**
   * @ORM\Column(type="datetimetz", nullable=true)
   * @var DateTimeInterface|null
   */
  private $createdAt;

  public function getCreatedAt(): ?DateTimeInterface {
    return $this->createdAt;
  }

  public function setCreatedAt(DateTimeInterface $createdAt): void {
    $this->createdAt = $createdAt;
  }
}