Skip to content

Instantly share code, notes, and snippets.

@daum
Created October 24, 2014 15:27
Show Gist options
  • Save daum/153de7209cdae0b16c98 to your computer and use it in GitHub Desktop.
Save daum/153de7209cdae0b16c98 to your computer and use it in GitHub Desktop.
<?php
class Form extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('permissions','choice',['choices' => $choices, 'multiple' => true]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment