Exemplo n.º 1
0
 public function testName()
 {
     $this->assertSame('action', $this->type->getName());
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setDefault('trans_domain', 'grids')->setAllowedTypes('trans_domain', 'string');
 }