2 namespace Wallabag\CoreBundle\Form\Type
;
4 use Symfony\Component\Form\AbstractType
;
5 use Symfony\Component\Form\FormBuilderInterface
;
6 use Symfony\Component\OptionsResolver\OptionsResolverInterface
;
8 class EntryType
extends AbstractType
10 public function buildForm(FormBuilderInterface
$builder, array $options)
14 ->add('save', 'submit')
18 public function setDefaultOptions(OptionsResolverInterface
$resolver)
20 $resolver->setDefaults(array(
21 'data_class' => 'Wallabag\CoreBundle\Entity\Entry',
25 public function getName()