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