private function createFilesIterator(string ...$paths): Iterator
    {
        return new ArrayIterator(
            array_map(
                function (string $path) : SplFileInfo {
                    return new SplFileInfo($path);
                },
                array_filter(
                    $paths,
                    function (string $path) : bool {
                        return is_readable($path);
                    }
                )
            )
        );
    }
private function createFilesIterator(string ...$paths): Iterator
    {
        return new ArrayIterator(
            array_map(
                function (string $path) : SplFileInfo {
                    return new SplFileInfo($path);
                },
                array_filter(
                    $paths,
                    function (string $path) : bool {
                        return is_readable($path);
                    }
                )
            )
        );
    }
private function createFilesIterator ( string ... $ paths ) : Iterator { return new ArrayIterator ( array_map ( function ( string $ path ) : SplFileInfo { return new SplFileInfo ( $ path ) ; } , array_filter ( $ paths , function ( string $ path ) : bool { return is_readable ( $ path ) ; } ) ) ) ; }
Create an iterator for the given file paths.

@param string ...$paths

@return Iterator
Create an iterator for the given file paths .