Interface ParserInterface

Summary

Fully Qualified Name: Zend\Code\Annotation\Parser\ParserInterface

Description

Methods

Name Description Defined By
onCreateAnnotation() Respond to the "createAnnotation" event ParserInterface
registerAnnotation() Register an annotation this parser will accept ParserInterface
registerAnnotations() Register multiple annotations this parser will accept ParserInterface

Method Details

onCreateAnnotation()

Respond to the "createAnnotation" event

Parameter Name Type Description
$e \EventInterface

Returns: bool|\stdClass

registerAnnotation()

Register an annotation this parser will accept

Parameter Name Type Description
$annotation mixed

Returns: void

registerAnnotations()

Register multiple annotations this parser will accept

Parameter Name Type Description
$annotations array|\Traversable

Returns: void

Top