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