for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AppBundle\Entity;
use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\ORM\Mapping as ORM;
use JMS\Serializer\Annotation as JMS;
/**
* @package AppBundle\Entity
*
* @JMS\ExclusionPolicy("all")
*/
abstract class Base
{
* @Gedmo\Timestampable(on="create")
* @ORM\Column(type="datetime")
private $created;
* @Gedmo\Timestampable(on="update")
private $updated;
* @return mixed
public function getCreated()
return $this->created;
}
public function getUpdated()
return $this->updated;