for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DoctrineORMModuleTest\Assets\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="doctrine_orm_module_date")
*/
class Date
{
* @ORM\Id
* @ORM\Column(type="integer");
* @ORM\GeneratedValue(strategy="AUTO")
protected $id;
* @ORM\Column(type="date", nullable=true)
protected $date;
* @return int|null
public function getId()
return $this->id;
}
* @param \DateTime $date
public function setDate($date)
$this->date = $date;
* @return \DateTime
public function getDate()
return $this->date;