protected function getFiles()
    {
        $this->mirrorDir();
        $this->prepareMirrorDir();
        $this->printTaskInfo('Retrieving files to package.');
        $mirrorFinder = new Finder();
        $mirrorFinder->ignoreDotFiles(false);
        $add = [];
        $mirrorFinder
            ->in($this->tmpDir)
            ->depth(0);
        foreach ($mirrorFinder as $file) {
            $add[substr($file->getRealPath(), strlen(realpath($this->tmpDir)) + 1)] = $file->getRealPath();
        }
        return $add;
    }
protected function getFiles()
    {
        $this->mirrorDir();
        $this->prepareMirrorDir();
        $this->printTaskInfo('Retrieving files to package.');
        $mirrorFinder = new Finder();
        $mirrorFinder->ignoreDotFiles(false);
        $add = [];
        $mirrorFinder
            ->in($this->tmpDir)
            ->depth(0);
        foreach ($mirrorFinder as $file) {
            $add[substr($file->getRealPath(), strlen(realpath($this->tmpDir)) + 1)] = $file->getRealPath();
        }
        return $add;
    }
protected function getFiles ( ) { $ this -> mirrorDir ( ) ; $ this -> prepareMirrorDir ( ) ; $ this -> printTaskInfo ( 'Retrieving files to package.' ) ; $ mirrorFinder = new Finder ( ) ; $ mirrorFinder -> ignoreDotFiles ( false ) ; $ add = [ ] ; $ mirrorFinder -> in ( $ this -> tmpDir ) -> depth ( 0 ) ; foreach ( $ mirrorFinder as $ file ) { $ add [ substr ( $ file -> getRealPath ( ) , strlen ( realpath ( $ this -> tmpDir ) ) + 1 ) ] = $ file -> getRealPath ( ) ; } return $ add ; }
Get the files and directories to package.

@return array
The list of files and directories to package.
Get the files and directories to package .