*/
class UninstallOperation extends SolverOperation implements OperationInterface
{
protected const TYPE = 'uninstall';
/** @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 'Removing '.$package->getPrettyName().' ('.$package->getFullPrettyVersion().')';
}
}
__halt_compiler();----SIGNATURE:----T0AoI1g8+lv0zIh/hZod47vOYjOartTkdElf8BoEWKxqIrx74+EVlUrs275A8T7jFqdmeOt1RzhuXvqgTQ3L5mOEs1JoEPSKaPKDN8s2HTrntulp/OLj94pqQ3rH0h+W15EYQkyhBabFA+UTL5Er2fTbKt1Hq9sECMKcKTccjsiBSTvxmYQ+I7suUqNsSCdu5msMtZePYl6kIULFaJt2BczVp3LWomuyWV9cOrBIslcrY8ZIllHZrvwUSfIcNPs285GIOmNiuvaPSYpkvPvh5Kqr0zHEa9Be5bc+zcroKcytrLlnYK7JqblIUli2C5WmLiyqo1c+zYCr7hmKFKKsTjPMs+C0wN5aB9GvoKOcwvmb6qYzDur6uKKz0hJwCDPmu0KB8Wq5He3/Ve/kHCzVFh3paWis+f5VhXGi5JxD33n2nxyp7+RQNqDtzJOBr5Q8EGYeTAeFN6In/wxCJtgiDTdvnR6fgohTWsTHDanOHF4felVUQZKAAy9xxE+sTg6yjbQJJ0c8B5ucapAEUHaS900WHfV60fHI4fnv20ndZYuu4kENt9/t99yKrP5g0e34x+jlvfzNvOwodDoSEd6BphX28fQ427ax9uFebEzdvvtp270lUP6Irs8cGxA09jQOpuzWwxd4k50oACB9iUuxyc9DK3xIBJG/C27cn8PO8JA=----ATTACHMENT:----MjQ4ODg1MDMxNDI1MTE0MSA1ODcxNjAzNjQzOTI0MTYzIDk1MzEzNzAzMjQ1NDY5NA==