src/AnnotationScanner.php
private function scanPaths()
    {
        foreach (Finder::create()->files()->in($this->pathsToScan)->name('*.' . $this->fileExtension) as $file) {
            $this->fileList->push($file->getRealPath());
        }
    }
private function scanPaths()
    {
        foreach (Finder::create()->files()->in($this->pathsToScan)->name('*.' . $this->fileExtension) as $file) {
            $this->fileList->push($file->getRealPath());
        }
    }
private function scanPaths ( ) { foreach ( Finder :: create ( ) -> files ( ) -> in ( $ this -> pathsToScan ) -> name ( '*.' . $ this -> fileExtension ) as $ file ) { $ this -> fileList -> push ( $ file -> getRealPath ( ) ) ; } }
We create a Finder instance and check for files recursively in the given directories

@return void
We create a Finder instance and check for files recursively in the given directories