protected function SimpleAnnotationReaderTest::getReader

Overrides AbstractReaderTest::getReader

1 call to SimpleAnnotationReaderTest::getReader()
SimpleAnnotationReaderTest::testInvalidAnnotationButIgnored in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/SimpleAnnotationReaderTest.php
@group DDC-1660 @group regression

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/SimpleAnnotationReaderTest.php, line 88

Class

SimpleAnnotationReaderTest

Namespace

Doctrine\Tests\Common\Annotations

Code

protected function getReader() {
  $reader = new SimpleAnnotationReader();
  $reader
    ->addNamespace(__NAMESPACE__);
  $reader
    ->addNamespace(__NAMESPACE__ . '\\Fixtures');
  $reader
    ->addNamespace(__NAMESPACE__ . '\\Fixtures\\Annotation');
  return $reader;
}