AppserverIo\Appserver\PersistenceContainer\Doctrine\V2\AnnotationRegistries\Psr4AnnotationRegistry::register PHP Метод

register() публичный Метод

Register's the annotation driver for the passed configuration.
public register ( AppserverIo\Appserver\Core\Api\Node\AnnotationRegistryNodeInterface $annotationRegistry ) : void
$annotationRegistry AppserverIo\Appserver\Core\Api\Node\AnnotationRegistryNodeInterface The configuration node
Результат void
    public function register(AnnotationRegistryNodeInterface $annotationRegistry)
    {
        // initialize the composer class loader
        $classLoader = new ClassLoader();
        $classLoader->addPsr4($annotationRegistry->getNamespace(), $annotationRegistry->getDirectoriesAsArray());
        // register the class loader to load annotations
        AnnotationRegistry::registerLoader(array($classLoader, 'loadClass'));
    }
Psr4AnnotationRegistry