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;
    }