| 1 | <?php |
||
| 12 | class FormDateSelect |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @ORM\Id |
||
| 16 | * @ORM\Column(type="integer") |
||
| 17 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 18 | */ |
||
| 19 | protected $id; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @ORM\Column(type="date", nullable=true) |
||
| 23 | * @Form\Type("DateSelect") |
||
| 24 | */ |
||
| 25 | protected $date; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return int|null |
||
| 29 | */ |
||
| 30 | public function getId() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param \DateTime $date |
||
| 37 | */ |
||
| 38 | public function setDate($date) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return \DateTime |
||
| 45 | */ |
||
| 46 | public function getDate() |
||
| 50 | } |
||
| 51 |