AppserverIo\Appserver\PersistenceContainer\Doctrine\V2\AnnotationRegistries\NamespaceAnnotationRegistry::register PHP Method

register() public method

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
return void
    public function register(AnnotationRegistryNodeInterface $annotationRegistry)
    {
        AnnotationRegistry::registerAutoloadNamespace($annotationRegistry->getNamespace(), $annotationRegistry->getDirectoriesAsArray());
    }
NamespaceAnnotationRegistry