src/Form/Annotation/AnnotationBuilder.php
public function setEventManager(EventManagerInterface $events)
    {
        ZendAnnotationBuilder::setEventManager($events);

        $this->getEventManager()
            ->attach(new ElementAnnotationsListener($this->objectManager, $this->formElementManager));

        return $this;
    }
public function setEventManager(EventManagerInterface $events)
    {
        ZendAnnotationBuilder::setEventManager($events);

        $this->getEventManager()
            ->attach(new ElementAnnotationsListener($this->objectManager, $this->formElementManager));

        return $this;
    }
{@inheritDoc}