public function getFileList()
    {
        $files = new Filesystem;
        return array_map(function (SplFileInfo $file) {
            return $file->getRelativePathname();
        }, $files->allFiles($this->stubDirectory));
    }
public function getFileList()
    {
        $files = new Filesystem;
        return array_map(function (SplFileInfo $file) {
            return $file->getRelativePathname();
        }, $files->allFiles($this->stubDirectory));
    }
public function getFileList ( ) { $ files = new Filesystem ; return array_map ( function ( SplFileInfo $ file ) { return $ file -> getRelativePathname ( ) ; } , $ files -> allFiles ( $ this -> stubDirectory ) ) ; }
List of files to be copied

@return array
List of files to be copied