*/
class InstallOperation extends SolverOperation implements OperationInterface
{
protected const TYPE = 'install';
/** @var PackageInterface */
protected $package;
public function __construct(PackageInterface $package)
{
$this->package = $package;
}
/**
* Returns package instance.
*/
public function getPackage(): PackageInterface
{
return $this->package;
}
/**
* @inheritDoc
*/
public function show($lock): string
{
return self::format($this->package, $lock);
}
public static function format(PackageInterface $package, bool $lock = false): string
{
return ($lock ? 'Locking ' : 'Installing ').''.$package->getPrettyName().' ('.$package->getFullPrettyVersion().')';
}
}
__halt_compiler();----SIGNATURE:----bhfFSwSeObKoHvhbQvhngo+105OUHFq47RYV1cw/77ThD7hjlClMqD5XNHd65XJZhVf13lwT44YhZpzY0M/6geB/JOA6l4xzq3/THDjZq+lJI+DWidlsYoddJ0hgLvEx9tVtrTfchmTtDgmzkQy9V1eUakh4bdwIwC88P7cSfotB3Z3dB8GW8GlzcYev0bDsYrh7/kn5GZs8LIs375PKqmIYvGF41uMpTDYBqAXHas2ImYbLY6DUpBz0neSqfrUB0gMA8neNzi61xQt26FbmnXXbLIgtlJyo3FNHNVIlfKrsK8YKmvCngqL9H3UjNzurpOS7JGqqc3kmYV/zF43vP9EC3ohOkylhxtC8M1mBWJQ7qVCfRArwHVde4zZ22L/TyCJ1twxUsKddtPmQpjc7un062aflvpgTtEBqLLQOgEh32rCK7L5w2HigRna0iowApwWqQFROZBrwx30WK9tTD+9K46K1uw84XibrIIMbpqh4VpwgAkkxtgyXOjKRkt+L6FtefJShqCXZxiBcla4ZRSOxhyz3wanr7EzyxmVVY12DiVoVEwPNC2vfz3laKfeXmP/1VRQGkJ0Izha2yY4pAYxATZ1llI8VUBan1NfD0V0X9w1eira9B6Fpl/LsUiOHnCWtQepeS+xKPhrWUskMwXiCpIxiQKc0QVJJaYKdshA=----ATTACHMENT:----NzY0NzUzMTE5NDc0ODIxMSA3ODY0Mzc2MjMzNTk4MjE4IDY4MjM4Njc4OTM3MjM1Njg=