You are here

public function SimpleAnnotationReader::addNamespace in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php \Doctrine\Common\Annotations\SimpleAnnotationReader::addNamespace()

Adds a namespace in which we will look for annotations.

Parameters

string $namespace:

Return value

void

File

modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/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);
}