1 | <?php |
||
12 | class DateSinceType extends AbstractType |
||
13 | { |
||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | */ |
||
17 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public function finishView(FormView $view, FormInterface $form, array $options) |
||
31 | |||
32 | public function setDefaultOptions(OptionsResolverInterface $resolver) |
||
38 | |||
39 | public function getParent() |
||
43 | |||
44 | public function getName() |
||
48 | } |
||
49 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.