1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace LAG\AdminBundle\Field; |
||
6 | |||
7 | use Symfony\Component\OptionsResolver\OptionsResolver; |
||
8 | |||
9 | class DateField extends AbstractField implements ApplicationAwareInterface |
||
0 ignored issues
–
show
|
|||
10 | { |
||
11 | use ApplicationAware; |
||
12 | |||
13 | public function configureOptions(OptionsResolver $resolver): void |
||
14 | { |
||
15 | $resolver->setDefaults([ |
||
16 | 'format' => '$this->applicationConfiguration->getDateFormat()', |
||
17 | 'template' => '@LAGAdmin/fields/date.html.twig', |
||
18 | ]); |
||
19 | } |
||
20 | } |
||
21 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.