You are here

public static function AnnotationRegistry::registerAutoloadNamespaces in Plug 7

Registers multiple namespaces.

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

Parameters

array $namespaces:

Return value

void

File

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