You are here

function Reader::getClassAnnotations in Plug 7

Gets the annotations applied to a class.

Parameters

\ReflectionClass $class The ReflectionClass of the class from which: the class annotations should be read.

Return value

array An array of Annotations.

5 methods override Reader::getClassAnnotations()
AnnotationReader::getClassAnnotations in lib/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php
Gets the annotations applied to a class.
CachedReader::getClassAnnotations in lib/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php
Gets the annotations applied to a class.
FileCacheReader::getClassAnnotations in lib/doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php
Gets the annotations applied to a class.
IndexedReader::getClassAnnotations in lib/doctrine/annotations/lib/Doctrine/Common/Annotations/IndexedReader.php
Gets the annotations applied to a class.
SimpleAnnotationReader::getClassAnnotations in lib/doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php
Gets the annotations applied to a class.

File

lib/doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php, line 37

Class

Reader
Interface for annotation readers.

Namespace

Doctrine\Common\Annotations

Code

function getClassAnnotations(\ReflectionClass $class);