pharext\Task\PharCompress::run PHP Méthode

run() public méthode

public run ( boolean $verbose = false ) : string
$verbose boolean
Résultat string
    public function run($verbose = false)
    {
        if ($verbose) {
            printf("Compressing %s ...\n", basename($this->package->getPath()));
        }
        /* stop shebang */
        $stub = $this->package->getStub();
        $phar = $this->package->compress($this->encoding);
        $phar->setStub(substr($stub, strpos($stub, "\n") + 1));
        return $this->file . $this->extension;
    }
PharCompress