You are here

public function SimpleAnnotationReader::addNamespace in Plug 7

Adds a namespace in which we will look for annotations.

Parameters

string $namespace:

Return value

void

File

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);
}