protected function getChoiceLoader(FormInterface $form, array $options)
    {
        $choiceLoader = $form->getConfig()->getAttribute('choice_loader');

        if (isset($options['choice_loader'])) {
            $choiceLoader = $options['choice_loader'];
        }

        return $choiceLoader;
    }
protected function getChoiceLoader(FormInterface $form, array $options)
    {
        $choiceLoader = $form->getConfig()->getAttribute('choice_loader');

        if (isset($options['choice_loader'])) {
            $choiceLoader = $options['choice_loader'];
        }

        return $choiceLoader;
    }
protected function getChoiceLoader ( FormInterface $ form , array $ options ) { $ choiceLoader = $ form -> getConfig ( ) -> getAttribute ( 'choice_loader' ) ; if ( isset ( $ options [ 'choice_loader' ] ) ) { $ choiceLoader = $ options [ 'choice_loader' ] ; } return $ choiceLoader ; }
Get choice loader.

@param FormInterface $form
@param array         $options

@return ChoiceLoaderInterface
Get choice loader .