pharext\Task\PharCompress::run PHP Method

run() public method

public run ( boolean $verbose = false ) : string
$verbose boolean
return 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