You are here

public static function AnnotationRegistry::registerAutoloadNamespaces in Zircon Profile 8

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

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