Manager/FilterSuperManager.php
public function createNamedForm(
        $name,
        CollectionInterface $collection,
        array $rootFormBuilderOptions = [],
        array $filterFormBuilderOptions = [],
        Request $request = null
    ) {
        $form = $this->formCreator->createNamed($name, $collection, $rootFormBuilderOptions, $filterFormBuilderOptions);

        if ($request !== null) {
            $form->handleRequest($request);
        }

        return $form;
    }
public function createNamedForm(
        $name,
        CollectionInterface $collection,
        array $rootFormBuilderOptions = [],
        array $filterFormBuilderOptions = [],
        Request $request = null
    ) {
        $form = $this->formCreator->createNamed($name, $collection, $rootFormBuilderOptions, $filterFormBuilderOptions);

        if ($request !== null) {
            $form->handleRequest($request);
        }

        return $form;
    }
public function createNamedForm ( $ name , CollectionInterface $ collection , array $ rootFormBuilderOptions = [ ] , array $ filterFormBuilderOptions = [ ] , Request $ request = null ) { $ form = $ this -> formCreator -> createNamed ( $ name , $ collection , $ rootFormBuilderOptions , $ filterFormBuilderOptions ) ; if ( $ request !== null ) { $ form -> handleRequest ( $ request ) ; } return $ form ; }
Creates a filtration named form.

@param string              $name                     The name of the root form
@param CollectionInterface $collection               The filter collection
@param array               $rootFormBuilderOptions   (Optional)
@param array               $filterFormBuilderOptions (Optional)
@param Request|null        $request                  (Optional) If passed Request object,
FormInterface::handleRequest() will be executed

@see \Da2e\FiltrationBundle\Form\Creator\FormCreatorInterface::createNamed() for complete documentation

@return \Symfony\Component\Form\FormInterface
Creates a filtration named form .