83. Class

83.1. Zend\Form\Annotation\AbstractAnnotationsListener

Base annotations listener.

Provides an implementation of detach() that should work with any listener. Also provides listeners for the “Name” annotation – handleNameAnnotation() will listen for the “Name” annotation, while discoverFallbackName() listens on the “discoverName” event and will use the class or property name, as discovered via reflection, if no other annotation has provided the name already.

83.1.1. Methods

83.1.1.1. detach

detach()

Detach listeners

Parameters:EventManagerInterface
Return type:void

83.1.1.2. handleNameAnnotation

handleNameAnnotation()

Attempt to discover a name set via annotation

Parameters:ZendEventManagerEventInterface
Return type:false|string

83.1.1.3. discoverFallbackName

discoverFallbackName()

Discover the fallback name via reflection

Parameters:ZendEventManagerEventInterface
Return type:string

Project Versions

Table Of Contents

Previous topic

80. Function

Next topic

84. Class

This Page