interface Reader

Interface for annotation readers.

@author Johannes M. Schmitt <schmittjoh@gmail.com>

Hierarchy

  • interface \Doctrine\Common\Annotations\Reader

Expanded class hierarchy of Reader

All classes that implement Reader

2 files declare their use of Reader
AnnotationClassLoader.php in drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Loader/AnnotationClassLoader.php
IndexedReader.php in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/IndexedReader.php

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/Reader.php, line 27

Namespace

Doctrine\Common\Annotations
View source
interface Reader {

  /**
   * @param \ReflectionClass $class
   * @return mixed
   */
  function getClassAnnotations(\ReflectionClass $class);

  /**
   * @param \ReflectionClass $class
   * @param string $annotationName
   * @return mixed
   */
  function getClassAnnotation(\ReflectionClass $class, $annotationName);

  /**
   * @param \ReflectionMethod $method
   * @return mixed
   */
  function getMethodAnnotations(\ReflectionMethod $method);

  /**
   * @param \ReflectionMethod $method
   * @param string $annotationName
   * @return mixed
   */
  function getMethodAnnotation(\ReflectionMethod $method, $annotationName);

  /**
   * @param \ReflectionProperty $property
   * @return mixed
   */
  function getPropertyAnnotations(\ReflectionProperty $property);

  /**
   * @param \ReflectionProperty $property
   * @param string $annotationName
   * @return mixed
   */
  function getPropertyAnnotation(\ReflectionProperty $property, $annotationName);

}

Members