| 1 | <?php |
||
| 22 | class DatetimeFieldType implements FieldTypeInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var DataExtractorInterface |
||
| 26 | */ |
||
| 27 | private $dataExtractor; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param DataExtractorInterface $dataExtractor |
||
| 31 | */ |
||
| 32 | public function __construct(DataExtractorInterface $dataExtractor) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function render(Field $field, $data, array $options) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function configureOptions(OptionsResolver $resolver) |
||
| 64 | |||
| 65 | /** |
||
| 66 | * {@inheritdoc} |
||
| 67 | */ |
||
| 68 | public function getName() |
||
| 72 | } |
||
| 73 |