public function createFormCollection(array $entities, $name, array $options=null)
    {
        $configuration = $this->prepareConfiguration($options);

        $this->initialize();

        $form = new FormCollection($entities, $name, $configuration);
        if (!is_null($validator = $this->validator)) {
            $form->setValidator($validator);
        }

        if (!is_null($translator = $this->translator)) {
            $form->setTranslator($translator);
        }

        if (!is_null($synchronizerToken = $this->synchronizerToken)) {
            $form->setSynchronizerToken($synchronizerToken);
        }

        return $form;
    }
public function createFormCollection(array $entities, $name, array $options=null)
    {
        $configuration = $this->prepareConfiguration($options);

        $this->initialize();

        $form = new FormCollection($entities, $name, $configuration);
        if (!is_null($validator = $this->validator)) {
            $form->setValidator($validator);
        }

        if (!is_null($translator = $this->translator)) {
            $form->setTranslator($translator);
        }

        if (!is_null($synchronizerToken = $this->synchronizerToken)) {
            $form->setSynchronizerToken($synchronizerToken);
        }

        return $form;
    }
public function createFormCollection ( array $ entities , $ name , array $ options = null ) { $ configuration = $ this -> prepareConfiguration ( $ options ) ; $ this -> initialize ( ) ; $ form = new FormCollection ( $ entities , $ name , $ configuration ) ; if ( ! is_null ( $ validator = $ this -> validator ) ) { $ form -> setValidator ( $ validator ) ; } if ( ! is_null ( $ translator = $ this -> translator ) ) { $ form -> setTranslator ( $ translator ) ; } if ( ! is_null ( $ synchronizerToken = $ this -> synchronizerToken ) ) { $ form -> setSynchronizerToken ( $ synchronizerToken ) ; } return $ form ; }
create form collection

@param     array     $entities           entities
@param     string    $name               dataset name
@param     array     $options            optional configuration
@return    \Naucon\Form\FormCollectionInterface  created form instance
create form collection