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