CheckboxType::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options The options

CheckboxType

class CheckboxType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. buildView(FormView $view, FormInterface $form, array $options) Builds the form view. finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of the template block name for this t

CheckboxListMapper::mapFormsToData()

mapFormsToData($checkboxes, $choices) Maps the data of a list of forms into the properties of some data. Parameters $checkboxes $choices Exceptions UnexpectedTypeException if the type of the data parameter is not supported.

CheckboxListMapper::mapDataToForms()

mapDataToForms($choices, $checkboxes) Maps properties of some data to a list of forms. Parameters $choices $checkboxes Exceptions UnexpectedTypeException if the type of the data parameter is not supported.

CheckboxListMapper

class CheckboxListMapper implements DataMapperInterface Maps choices to/from checkbox forms. A {@link ChoiceListInterface} implementation is used to find the corresponding string values for the choices. Each checkbox form whose "value" option corresponds to any of the selected values is marked as selected. Methods mapDataToForms($choices, $checkboxes) Maps properties of some data to a list of forms. mapFormsToData($checkboxes, $choices) Maps the data of a list of forms into the prop

ChannelListener

class ChannelListener implements ListenerInterface ChannelListener switches the HTTP protocol based on the access control configuration. Methods __construct(AccessMapInterface $map, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null) handle(GetResponseEvent $event) Handles channel management. Details __construct(AccessMapInterface $map, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterf

ChainUserProvider::supportsClass()

bool supportsClass(string $class) Whether this provider supports the given user class. Parameters string $class Return Value bool

ChainUserProvider::refreshUser()

UserInterface refreshUser(UserInterface $user) Refreshes the user for the account interface. It is up to the implementation to decide if the user data should be totally reloaded (e.g. from the database), or if the UserInterface object can just be merged into some internal array of users / identity map. Parameters UserInterface $user Return Value UserInterface Exceptions UnsupportedUserException if the account is not supported

ChainUserProvider::loadUserByUsername()

UserInterface loadUserByUsername(string $username) Loads the user for the given username. This method must throw UsernameNotFoundException if the user is not found. Parameters string $username The username Return Value UserInterface Exceptions UsernameNotFoundException if the user is not found

ChainUserProvider::getProviders()

array getProviders() Return Value array