private function addPHPFiles(Phar $phar)
{
/**
* All *.php files.
*/
$finder = new Finder();
$finder->files()->ignoreVCS(true)->name('*.php')->notName('Compiler.php')->notName('ClassLoader.php')->in(realpath(__DIR__ . '/../../../src'));
foreach ($finder->files() as $file) {
$this->addFile($phar, $file);
}
return $this;
}