function __construct($git_url, $tag_name, $pkg_name, $options) {
$dir = (new Task\GitClone($git_url, $tag_name))->run();
$src = !empty($options["pecl"])
? new SourceDir\Pecl($dir)
: new SourceDir\Git($dir);
function __construct($git_url, $tag_name, $pkg_name, $options) {
$dir = (new Task\GitClone($git_url, $tag_name))->run();
$src = !empty($options["pecl"])
? new SourceDir\Pecl($dir)
: new SourceDir\Git($dir);