src/DoctrineORMModule/Form/Annotation/ElementAnnotationsListener.php
public function attach(EventManagerInterface $events, $priority = 1)
    {
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_FIELD,
            [$this, 'handleFilterField']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_FIELD,
            [$this, 'handleTypeField']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_FIELD,
            [$this, 'handleValidatorField']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_FIELD,
            [$this, 'handleRequiredField']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_EXCLUDE_FIELD,
            [$this, 'handleExcludeField']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_ASSOCIATION,
            [$this, 'handleToOne']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_ASSOCIATION,
            [$this, 'handleToMany']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_ASSOCIATION,
            [$this, 'handleRequiredAssociation']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_EXCLUDE_ASSOCIATION,
            [$this, 'handleExcludeAssociation']
        );
    }
public function attach(EventManagerInterface $events, $priority = 1)
    {
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_FIELD,
            [$this, 'handleFilterField']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_FIELD,
            [$this, 'handleTypeField']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_FIELD,
            [$this, 'handleValidatorField']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_FIELD,
            [$this, 'handleRequiredField']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_EXCLUDE_FIELD,
            [$this, 'handleExcludeField']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_ASSOCIATION,
            [$this, 'handleToOne']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_ASSOCIATION,
            [$this, 'handleToMany']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_CONFIGURE_ASSOCIATION,
            [$this, 'handleRequiredAssociation']
        );
        $this->listeners[] = $events->attach(
            AnnotationBuilder::EVENT_EXCLUDE_ASSOCIATION,
            [$this, 'handleExcludeAssociation']
        );
    }
public function attach ( EventManagerInterface $ events , $ priority = 1 ) { $ this -> listeners [ ] = $ events -> attach ( AnnotationBuilder :: EVENT_CONFIGURE_FIELD , [ $ this , 'handleFilterField' ] ) ; $ this -> listeners [ ] = $ events -> attach ( AnnotationBuilder :: EVENT_CONFIGURE_FIELD , [ $ this , 'handleTypeField' ] ) ; $ this -> listeners [ ] = $ events -> attach ( AnnotationBuilder :: EVENT_CONFIGURE_FIELD , [ $ this , 'handleValidatorField' ] ) ; $ this -> listeners [ ] = $ events -> attach ( AnnotationBuilder :: EVENT_CONFIGURE_FIELD , [ $ this , 'handleRequiredField' ] ) ; $ this -> listeners [ ] = $ events -> attach ( AnnotationBuilder :: EVENT_EXCLUDE_FIELD , [ $ this , 'handleExcludeField' ] ) ; $ this -> listeners [ ] = $ events -> attach ( AnnotationBuilder :: EVENT_CONFIGURE_ASSOCIATION , [ $ this , 'handleToOne' ] ) ; $ this -> listeners [ ] = $ events -> attach ( AnnotationBuilder :: EVENT_CONFIGURE_ASSOCIATION , [ $ this , 'handleToMany' ] ) ; $ this -> listeners [ ] = $ events -> attach ( AnnotationBuilder :: EVENT_CONFIGURE_ASSOCIATION , [ $ this , 'handleRequiredAssociation' ] ) ; $ this -> listeners [ ] = $ events -> attach ( AnnotationBuilder :: EVENT_EXCLUDE_ASSOCIATION , [ $ this , 'handleExcludeAssociation' ] ) ; }
{@inheritDoc}
{