for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DoS\ResourceBundle\Model;
trait TimestampableTrait
{
/**
* @var \DateTime
*/
protected $createdAt;
protected $updatedAt;
* {@inheritdoc}
public function getCreatedAt()
return $this->createdAt;
}
public function getUpdatedAt()
return $this->updatedAt;
public function setCreatedAt(\DateTime $createdAt)
$this->createdAt = $createdAt;
public function setUpdatedAt(\DateTime $updatedAt)
$this->updatedAt = $updatedAt;