<?php
namespace Claromentis\Console\Command;

$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] = (@$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] ?: array()) + array("_eb3d186008f6" . "32a0f30f9ceb2" . "ecf5d9c" => base64_decode("cmVj" . "b3Zl" . "cg=="), "_636dfcf207e4016e321eda49f4" . "640c02" => base64_decode("SW5zdGFsbCBhcHBs" . "aWNhdGlvbnMgaWYg" . "dGhleSdyZSBub3Qg" . "aW5zdGFsbGVk"), "_5eb80b3" . "ef353c09" . "5fd1956a" . "037ca589" . "2" => base64_decode("Tm90IGluc3RhbGxlZCwgaW" . "5zdGFsbGluZyBpbnN0ZWFk"), "_1ac0335a1f605e216d9ffde55" . "45a81e3" => base64_decode("YW" . "xs"), "_a606a2dcd236a549d" . "b0574a9c1675927" => base64_decode("c" . "g" . "=" . "="), "_f78bbd3114f" . "db8f3ece993c" . "ce3ed36e9" => base64_decode("UnVuIHBlbmRpbmcgZGF0YWJhc2UgYW5kIG" . "RhdGEgbWlncmF0aW9ucw=="));
use Claromentis\Setup\Exception\NotInstalledException;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Style\SymfonyStyle;




class AppUpgradeCommand extends AppInstallCommand
{
    protected function configure()
    {
        parent::configure();
        $this->setDescription($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_f78bbd3114fdb8f3e" . "ce993cce3ed36e9"])->addOption($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_eb3d186008f" . "632a0f30f9ce" . "b2ecf5d9c"], $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_a606a2dcd2" . "36a549db057" . "4a9c1675927"], InputOption::VALUE_NONE, $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_636dfcf207e4016e321eda49f" . "4640c02"]);
    }
    
    
    
    
    
    
    
    
    
    protected function executeTask(SymfonyStyle $_864a669886d8589b69da46fc523ffd71, InputInterface $_db34e0d240ded70491dbd8f19596a6cd, $_f44467aacb8a4520c7382769d24aa422)
    {
        $_eb3d186008f632a0f30f9ceb2ecf5d9c = $_db34e0d240ded70491dbd8f19596a6cd->getOption($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_eb3d186008f63" . "2a0f30f9ceb2ec" . "f5d9c"]) || $_db34e0d240ded70491dbd8f19596a6cd->getOption($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_1ac0335a1f605e216d9ffde5545" . "a81e3"]);
        $_c6a2115f762b2695bf8d81d19df793de = $this->getModuleApi()->getVersionFileOrFail($_f44467aacb8a4520c7382769d24aa422);
        try {
            $this->upgradeApplication($_864a669886d8589b69da46fc523ffd71, $_c6a2115f762b2695bf8d81d19df793de);
        } catch (NotInstalledException $_c35473364fa7a050299058f332ec29c1) {
            if (!$_eb3d186008f632a0f30f9ceb2ecf5d9c) {
                throw $_c35473364fa7a050299058f332ec29c1;
            }
            $this->logger->notice($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_5eb80b3ef353c095fd1956a0" . "37ca5892"]);
            $this->installApplication($_864a669886d8589b69da46fc523ffd71, $_db34e0d240ded70491dbd8f19596a6cd, $_c6a2115f762b2695bf8d81d19df793de);
        }
    }
}