src/DoctrineORMModule/Service/FormAnnotationBuilderFactory.php
private function getFormFactory(ContainerInterface $services)
    {
        $elements = null;

        if ($services->has('FormElementManager')) {
            $elements = $services->get('FormElementManager');
        }

        return new Factory($elements);
    }
private function getFormFactory(ContainerInterface $services)
    {
        $elements = null;

        if ($services->has('FormElementManager')) {
            $elements = $services->get('FormElementManager');
        }

        return new Factory($elements);
    }
Retrieve the form factory

@param  ContainerInterface $services
@return Factory