src/Thumbnail.php
private static function getPathFiles(array $path): array
    {
        // load external files
        $result = [];
        $pathFinder = Finder::findFiles('*')->in($path);
        foreach ($pathFinder as $file) {
            $result[$file->getRealPath()] = $file->getBaseName();
        }
        return $result;
    }
private static function getPathFiles(array $path): array
    {
        // load external files
        $result = [];
        $pathFinder = Finder::findFiles('*')->in($path);
        foreach ($pathFinder as $file) {
            $result[$file->getRealPath()] = $file->getBaseName();
        }
        return $result;
    }
private static function getPathFiles ( array $ path ) : array { // load external files $ result = [ ] ; $ pathFinder = Finder :: findFiles ( '*' ) -> in ( $ path ) ; foreach ( $ pathFinder as $ file ) { $ result [ $ file -> getRealPath ( ) ] = $ file -> getBaseName ( ) ; } return $ result ; }
Get path files.

@param array $path
@return array
Get path files .