for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Zalas\Toolbox\Tool\Command;
use Zalas\Toolbox\Tool\Command;
final class PhiveInstallCommand implements Command
{
private $alias;
private $bin;
public function __construct(string $alias, string $bin)
$this->alias = $alias;
$this->bin = $bin;
}
public function __toString(): string
$home = dirname($this->bin);
return \sprintf(
'phive --home %s install --force-accept-unsigned %s -t %s',
$home,
$this->alias,
$this->bin
);