[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-code/src/Annotation/ -> AnnotationManager.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 109 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AnnotationManager:: (4 methods):
  setEventManager()
  getEventManager()
  attach()
  createAnnotation()


Class: AnnotationManager  - X-Ref

Pluggable annotation manager

Simply composes an EventManager. When createAnnotation() is called, it fires
off an event of the same name, passing it the resolved annotation class, the
annotation content, and the raw annotation string; the first listener to
return an object will halt execution of the event, and that object will be
returned as the annotation.
setEventManager(EventManagerInterface $events)   X-Ref
Set the event manager instance

param: EventManagerInterface $events
return: AnnotationManager

getEventManager()   X-Ref
Retrieve event manager

Lazy loads an instance if none registered.

return: EventManagerInterface

attach(ParserInterface $parser)   X-Ref
Attach a parser to listen to the createAnnotation event

param: ParserInterface $parser
return: AnnotationManager

createAnnotation(array $annotationData)   X-Ref
Create Annotation

param: string[] $annotationData
return: false|\stdClass



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1