示例#1
0
 /**
  * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver
  *
  * @return void
  */
 public function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setDefaults([self::OPTION_KEY_METHOD_STRING_PATTERN => self::METHOD_STRING_PATTERN, self::OPTION_KEY_PATH_PATTERN => self::PATH_PATTERN, self::OPTION_KEY_FILE_NAME_SUFFIX => self::FILE_NAME_SUFFIX]);
 }
 /**
  * @param OptionsResolver $resolver
  *
  * @return void
  */
 public function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setDefaults([self::OPTION_KEY_METHOD_STRING_PATTERN => self::METHOD_STRING_PATTERN, self::OPTION_KEY_APPLICATION => self::APPLICATION]);
 }