You are here

public function SimpleAnnotationReader::addNamespace in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/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

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