public function analysePaths(Finder $finder)
    {
        $classes = [];
        foreach ($finder as $file) {
            $this->analyse($file, $classes);
        }

        return $classes;
    }
public function analysePaths(Finder $finder)
    {
        $classes = [];
        foreach ($finder as $file) {
            $this->analyse($file, $classes);
        }

        return $classes;
    }
public function analysePaths ( Finder $ finder ) { $ classes = [ ] ; foreach ( $ finder as $ file ) { $ this -> analyse ( $ file , $ classes ) ; } return $ classes ; }
Find all class names by a finder instance.

@param Finder $finder

@return array
Find all class names by a finder instance .