public function filesToOverwrite()
    {
        $files = new Filesystem;
        $stubs = array_map(function (SplFileInfo $file) {
            return $file->getRelativePathname();
        }, $files->allFiles("{$this->sageRoot}/resources/assets"));
        return array_intersect($stubs, $this->getFileList());
    }
public function filesToOverwrite()
    {
        $files = new Filesystem;
        $stubs = array_map(function (SplFileInfo $file) {
            return $file->getRelativePathname();
        }, $files->allFiles("{$this->sageRoot}/resources/assets"));
        return array_intersect($stubs, $this->getFileList());
    }
public function filesToOverwrite ( ) { $ files = new Filesystem ; $ stubs = array_map ( function ( SplFileInfo $ file ) { return $ file -> getRelativePathname ( ) ; } , $ files -> allFiles ( "{$this->sageRoot}/resources/assets" ) ) ; return array_intersect ( $ stubs , $ this -> getFileList ( ) ) ; }
List of files that will be overwritten

@return array
List of files that will be overwritten