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.

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

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

ChainUserProvider::supportsClass()

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

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::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

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.

ChainUserProvider::getProviders()

array getProviders() Return Value array

ChainLoader

class ChainLoader extends Loader ChainLoader is a loader that calls other loaders to load templates. Methods setLogger(LoggerInterface $logger) Sets the debug logger to use for this loader. from Loader setDebugger(DebuggerInterface $debugger) deprecated Sets the debugger to use for this loader. from Loader __construct(array $loaders = array()) Constructor. addLoader(LoaderInterface $loader) Adds a loader instance. Storage|bool load(TemplateReferenceInterface $template)