public function SimpleAnnotationReader::addNamespace in Service Container 7
Same name and namespace in other branches
- 7.2 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\AnnotationsCode
public function addNamespace($namespace) {
$this->parser
->addNamespace($namespace);
}