AppserverIo\Appserver\PersistenceContainer\Doctrine\V2\AnnotationRegistries\NamespaceAnnotationRegistry::register PHP Méthode

register() public méthode

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