[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

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

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

Defines 1 class

DoctrineAnnotationParser:: (6 methods):
  __construct()
  setDocParser()
  getDocParser()
  onCreateAnnotation()
  registerAnnotation()
  registerAnnotations()


Class: DoctrineAnnotationParser  - X-Ref

A parser for docblock annotations that utilizes the annotation parser from
Doctrine\Common.

Consumes Doctrine\Common\Annotations\DocParser, and responds to events from
AnnotationManager. If the annotation examined is in the list of classes we
are interested in, the raw annotation is passed to the DocParser in order to
retrieve the annotation object instance. Otherwise, it is skipped.
__construct()   X-Ref


setDocParser(DocParser $docParser)   X-Ref
Set the DocParser instance

param: DocParser $docParser
return: DoctrineAnnotationParser

getDocParser()   X-Ref
Retrieve the DocParser instance

If none is registered, lazy-loads a new instance.

return: DocParser

onCreateAnnotation(EventInterface $e)   X-Ref
Handle annotation creation

param: EventInterface $e
return: false|\stdClass

registerAnnotation($annotation)   X-Ref
Specify an allowed annotation class

param: string $annotation
return: DoctrineAnnotationParser

registerAnnotations($annotations)   X-Ref
Set many allowed annotations at once

param: array|Traversable $annotations Array or traversable object of
return: DoctrineAnnotationParser



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1