public function getFiles($recursive = false)
    {
        return $this->appendIterator(
            function ($path) use ($recursive) {
                return Filesystem::files((string) $path, $recursive);
            }
        );
    }
public function getFiles($recursive = false)
    {
        return $this->appendIterator(
            function ($path) use ($recursive) {
                return Filesystem::files((string) $path, $recursive);
            }
        );
    }
public function getFiles ( $ recursive = false ) { return $ this -> appendIterator ( function ( $ path ) use ( $ recursive ) { return Filesystem :: files ( ( string ) $ path , $ recursive ) ; } ) ; }
Get file iterator of all paths

@param  boolean $recursive True to resursive.

@return  \AppendIterator  Iterator only include files.
Get file iterator of all paths