public static function registerClassLoaderInAnnotationRegistry(Bootstrap $bootstrap)
    {
        AnnotationRegistry::registerLoader([$bootstrap->getEarlyInstance(\Composer\Autoload\ClassLoader::class), 'loadClass']);
        if (self::useClassLoader($bootstrap)) {
            AnnotationRegistry::registerLoader([$bootstrap->getEarlyInstance(ClassLoader::class), 'loadClass']);
        }
    }
public static function registerClassLoaderInAnnotationRegistry(Bootstrap $bootstrap)
    {
        AnnotationRegistry::registerLoader([$bootstrap->getEarlyInstance(\Composer\Autoload\ClassLoader::class), 'loadClass']);
        if (self::useClassLoader($bootstrap)) {
            AnnotationRegistry::registerLoader([$bootstrap->getEarlyInstance(ClassLoader::class), 'loadClass']);
        }
    }
public static function registerClassLoaderInAnnotationRegistry ( Bootstrap $ bootstrap ) { AnnotationRegistry :: registerLoader ( [ $ bootstrap -> getEarlyInstance ( \ Composer \ Autoload \ ClassLoader :: class ) , 'loadClass' ] ) ; if ( self :: useClassLoader ( $ bootstrap ) ) { AnnotationRegistry :: registerLoader ( [ $ bootstrap -> getEarlyInstance ( ClassLoader :: class ) , 'loadClass' ] ) ; } }
Register the class loader into the Doctrine AnnotationRegistry so
the DocParser is able to load annation classes from packages.

@param Bootstrap $bootstrap
@return void
Register the class loader into the Doctrine AnnotationRegistry so the DocParser is able to load annation classes from packages .