You are here

public static function AnnotationRegistry::registerAutoloadNamespaces in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php \Doctrine\Common\Annotations\AnnotationRegistry::registerAutoloadNamespaces()

Registers multiple namespaces.

Loading of this namespaces will be done with a PSR-0 namespace loading algorithm.

Parameters

array $namespaces:

Return value

void

File

modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php, line 91

Class

AnnotationRegistry
AnnotationRegistry.

Namespace

Doctrine\Common\Annotations

Code

public static function registerAutoloadNamespaces(array $namespaces) {
  self::$autoloadNamespaces = array_merge(self::$autoloadNamespaces, $namespaces);
}