public function registerAnnotationRegistries()
    {

        // reset the annotation registry
        AnnotationRegistry::reset();

        // register additional annotation libraries
        foreach ($this->getContextNode()->getAnnotationRegistries() as $annotationRegistry) {
            // register the annotations specified by the annotation registery
            $annotationRegistryType = $annotationRegistry->getType();
            $registry = new $annotationRegistryType();
            $registry->register($annotationRegistry);
        }
    }
public function registerAnnotationRegistries()
    {

        // reset the annotation registry
        AnnotationRegistry::reset();

        // register additional annotation libraries
        foreach ($this->getContextNode()->getAnnotationRegistries() as $annotationRegistry) {
            // register the annotations specified by the annotation registery
            $annotationRegistryType = $annotationRegistry->getType();
            $registry = new $annotationRegistryType();
            $registry->register($annotationRegistry);
        }
    }
public function registerAnnotationRegistries ( ) { // reset the annotation registry AnnotationRegistry :: reset ( ) ; // register additional annotation libraries foreach ( $ this -> getContextNode ( ) -> getAnnotationRegistries ( ) as $ annotationRegistry ) { // register the annotations specified by the annotation registery $ annotationRegistryType = $ annotationRegistry -> getType ( ) ; $ registry = new $ annotationRegistryType ( ) ; $ registry -> register ( $ annotationRegistry ) ; } }
Registers additional annotation registries defined in the configuration.

@return void
Registers additional annotation registries defined in the configuration .