public function addFilesToRegistry($filePaths)
    {
        collect((array) $filePaths)->each(function ($filePath) {
            if (file_exists($filePath)) {
                AnnotationRegistry::registerFile($filePath);
            }
        });

        return $this;
    }
public function addFilesToRegistry($filePaths)
    {
        collect((array) $filePaths)->each(function ($filePath) {
            if (file_exists($filePath)) {
                AnnotationRegistry::registerFile($filePath);
            }
        });

        return $this;
    }
public function addFilesToRegistry ( $ filePaths ) { collect ( ( array ) $ filePaths ) -> each ( function ( $ filePath ) { if ( file_exists ( $ filePath ) ) { AnnotationRegistry :: registerFile ( $ filePath ) ; } } ) ; return $ this ; }
Adds files containing annotations to the registry.

@param array|string $filePaths

@return self
Adds files containing annotations to the registry .