示例#1
0
 public function getCategoryChoices($groupName, $indent = ' ')
 {
     $builder = new CategoryBuilder();
     return $builder->buildChoices($groupName, $indent);
 }
示例#2
0
 public function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     $builder = new CategoryBuilder();
     $resolver->setDefaults(array('choices' => $builder->buildChoices($this->group)));
 }