public function registerAnnotationsPathWithRegistry($path)
    {
        foreach (Finder::create()->files()->in($path) as $file) {
            AnnotationRegistry::registerFile($file->getRealPath());
        }

        return $this;
    }
public function registerAnnotationsPathWithRegistry($path)
    {
        foreach (Finder::create()->files()->in($path) as $file) {
            AnnotationRegistry::registerFile($file->getRealPath());
        }

        return $this;
    }
public function registerAnnotationsPathWithRegistry ( $ path ) { foreach ( Finder :: create ( ) -> files ( ) -> in ( $ path ) as $ file ) { AnnotationRegistry :: registerFile ( $ file -> getRealPath ( ) ) ; } return $ this ; }
Register the annotator files with the annotation registry.

@param string $path

@return $this
Register the annotator files with the annotation registry .