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;
use Zend\Form\Annotation as Form;
/**
* @ORM\Entity
* @ORM\Table(name="doctrine_orm_module_dateselect")
*/
class FormDateSelect
{
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
protected $id;
* @ORM\Column(type="date", nullable=true)
* @Form\Type("DateSelect")
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;