Lines Matching refs:phar
42 $phar = new Phar($pharFile, 0, $script.'.phar'); variable
45 buildFromPackage($phar);
56 $phar->setStub($stub);
64 * @param object $phar The Phar class.
68 function buildFromPackage(&$phar) argument
83 buildFromNode($phar, $currentLevel, '');
87 $phar->addFile(realpath(__DIR__.'/../licence.txt'), 'licence.txt');
88 $phar['licence.txt']->compress(Phar::GZ);
96 * @param object $phar The Phar class.
102 function buildFromNode(&$phar, $node, $prefix='') argument
113 $phar->addFile(realpath(__DIR__.'/../'.$path), $path);
114 $phar[$path]->compress(Phar::GZ);
124 buildFromNode($phar, $child, $path);