AppserverIo\Appserver\PersistenceContainer\Doctrine\V2\AnnotationRegistries\FileAnnotationRegistry::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::registerFile($annotationRegistry->getFile());
    }
FileAnnotationRegistry