for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* (c) Soeren Martius
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SoerenMartius\Component\Wishlist\Model;
/**
* @author Soeren Martius <[email protected]>
trait TimestampableTrait
{
* @var \DateTime
protected $createdAt;
protected $updatedAt;
* @return \DateTime
public function getCreatedAt()
return $this->createdAt;
}
public function getUpdatedAt()
return $this->updatedAt;
* @param \DateTime $createdAt
* @return $this
public function setCreatedAt(\DateTime $createdAt)
$this->createdAt = $createdAt;
return $this;
* @param \DateTime $updatedAt
public function setUpdatedAt(\DateTime $updatedAt)
$this->updatedAt = $updatedAt;