pharext\Task\StreamFetch::__construct PHP Method

__construct() public method

public __construct ( string $source, callable $progress )
$source string remote file location
$progress callable progress callback
    public function __construct($source, callable $progress)
    {
        $this->source = $source;
        $this->progress = $progress;
    }