class GroupsType extends AbstractType (View source)

Group selector form field type.

Properties

protected ArrayCollection|null $groups
protected EntityManager $entityManager

Methods

__construct(EntityManager $em, ArrayCollection|null $groups = null)

GroupsType constructor.

configureOptions(OptionsResolver $resolver)

{@inheritdoc}

getParent()

{@inheritdoc}

getBlockPrefix()

{@inheritdoc}

Details

__construct(EntityManager $em, ArrayCollection|null $groups = null)

GroupsType constructor.

Parameters

EntityManager $em
ArrayCollection|null $groups

configureOptions(OptionsResolver $resolver)

{@inheritdoc}

Parameters

OptionsResolver $resolver

getParent()

{@inheritdoc}

getBlockPrefix()

{@inheritdoc}