private function initDefaultAnnotationReader()
    {
        if (null !== self::$defaultAnnotationReader) {
            return;
        }

        $docParser = new DocParser();
        $docParser->setImports([
            'Bits' => 'KonstantinKuklin\\DoctrineCompressedFields\\Annotation',
        ]);
        $docParser->setIgnoreNotImportedAnnotations(true);

        $reader = new AnnotationReader($docParser);

        AnnotationRegistry::registerFile(__DIR__ . '/../Annotation/Hub.php');
        AnnotationRegistry::registerFile(__DIR__ . '/../Annotation/Mask.php');
        $reader = new CachedReader($reader, new VoidCache());

        self::$defaultAnnotationReader = $reader;
    }
private function initDefaultAnnotationReader()
    {
        if (null !== self::$defaultAnnotationReader) {
            return;
        }

        $docParser = new DocParser();
        $docParser->setImports([
            'Bits' => 'KonstantinKuklin\\DoctrineCompressedFields\\Annotation',
        ]);
        $docParser->setIgnoreNotImportedAnnotations(true);

        $reader = new AnnotationReader($docParser);

        AnnotationRegistry::registerFile(__DIR__ . '/../Annotation/Hub.php');
        AnnotationRegistry::registerFile(__DIR__ . '/../Annotation/Mask.php');
        $reader = new CachedReader($reader, new VoidCache());

        self::$defaultAnnotationReader = $reader;
    }
private function initDefaultAnnotationReader ( ) { if ( null !== self :: $ defaultAnnotationReader ) { return ; } $ docParser = new DocParser ( ) ; $ docParser -> setImports ( [ 'Bits' => 'KonstantinKuklin\\DoctrineCompressedFields\\Annotation' , ] ) ; $ docParser -> setIgnoreNotImportedAnnotations ( true ) ; $ reader = new AnnotationReader ( $ docParser ) ; AnnotationRegistry :: registerFile ( __DIR__ . '/../Annotation/Hub.php' ) ; AnnotationRegistry :: registerFile ( __DIR__ . '/../Annotation/Mask.php' ) ; $ reader = new CachedReader ( $ reader , new VoidCache ( ) ) ; self :: $ defaultAnnotationReader = $ reader ; }
Create default annotation reader for extension

@throws \RuntimeException
Create default annotation reader for extension