public function addFiles(Phar $phar)
    {
        $finder = new Finder();
        $finder->files()
            ->ignoreVCS(true)
            ->name('*.php')
            ->name('*.stub')
            ->exclude('Tests')
            ->exclude('tests')
            ->exclude('/storage')
            ->exclude('/config')
            ->exclude('/build')
            ->in($this->pathBase);
        foreach ($finder as $file) {
            $this->addFile($phar, $file);
        }
    }
public function addFiles(Phar $phar)
    {
        $finder = new Finder();
        $finder->files()
            ->ignoreVCS(true)
            ->name('*.php')
            ->name('*.stub')
            ->exclude('Tests')
            ->exclude('tests')
            ->exclude('/storage')
            ->exclude('/config')
            ->exclude('/build')
            ->in($this->pathBase);
        foreach ($finder as $file) {
            $this->addFile($phar, $file);
        }
    }
public function addFiles ( Phar $ phar ) { $ finder = new Finder ( ) ; $ finder -> files ( ) -> ignoreVCS ( true ) -> name ( '*.php' ) -> name ( '*.stub' ) -> exclude ( 'Tests' ) -> exclude ( 'tests' ) -> exclude ( '/storage' ) -> exclude ( '/config' ) -> exclude ( '/build' ) -> in ( $ this -> pathBase ) ; foreach ( $ finder as $ file ) { $ this -> addFile ( $ phar , $ file ) ; } }
Adicionar arquivos.
@param Phar $phar
Adicionar arquivos .