public function SimpleAnnotationReader::addNamespace

Adds a namespace in which we will look for annotations.

Parameters

string $namespace:

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php, line 57

Class

SimpleAnnotationReader
Simple Annotation Reader.

Namespace

Doctrine\Common\Annotations

Code

public function addNamespace($namespace) {
  $this->parser
    ->addNamespace($namespace);
}