<?php
namespace Claromentis\Console\Command;

$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] = (@$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] ?: array()) + array("_edff35351def0f95de1a2e310f" . "5d0876" => base64_decode("RGF0YWJhc2UgcGVybWlzc2lvbnMgT0" . "s="), "_ad1aed0600750" . "1c70707bfc1ae0" . "503b3" => base64_decode("VmVyaWZ5aW5nIGRhdGFiYXNlIHBlcm1pc3Npb25zLi" . "4u"), "_3a3a28360" . "ba716d72fd" . "98b055785a" . "108" => base64_decode("VmVyaWZ5aW5nIGRhdGFiYXNlIGNv" . "bm5lY3Rpb24uLi4="), "_0979a8f8b184cace154b11ef1" . "bf00bcb" => base64_decode("RGF0YWJhc2UgY29ubmVjdGl" . "vbiBPSw=="), "_9c28dd0a36" . "8b73bb88a7f" . "33d2034cdbd" => base64_decode("Q2hlY2sgZGF0YWJhc2UgYXZhaWxhYmlsaXR5IGFu" . "ZCBwZXJtaXNzaW9ucw=="));
use Claromentis\Console\Command;
use Claromentis\Setup\Task\DatabaseCheck;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;





class DatabaseCheckCommand extends Command
{
    public function configure()
    {
        $this->setDescription($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_9c28dd0a368b73bb88a7f33d2" . "034cdbd"]);
    }
    
    
    
    
    
    
    
    
    protected function execute(InputInterface $_db34e0d240ded70491dbd8f19596a6cd, OutputInterface $_1078c0d5e533406287785a6c20cf7587)
    {
        $_864a669886d8589b69da46fc523ffd71 = $this->getIo($_db34e0d240ded70491dbd8f19596a6cd, $_1078c0d5e533406287785a6c20cf7587);
        $_6c7ab98652d4206500c9ed424f59a7ee = $this->getChecker();
        try {
            $_864a669886d8589b69da46fc523ffd71->text($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_3a3a28360ba716d72fd98b05578" . "5a108"]);
            $_6c7ab98652d4206500c9ed424f59a7ee->verifyDatabaseConnection();
            $_864a669886d8589b69da46fc523ffd71->success($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_0979a8f8b184cace1" . "54b11ef1bf00bcb"]);
            $_864a669886d8589b69da46fc523ffd71->text($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_ad1aed06007501c70707bfc1ae050" . "3b3"]);
            $_6c7ab98652d4206500c9ed424f59a7ee->verifyDatabasePermissions();
            $_864a669886d8589b69da46fc523ffd71->success($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_edff35351def0f95de1a2e310f5" . "d0876"]);
        } catch (\Throwable $_3a16c5fe1a78b54b69e204ec07dcf670) {
            $this->error($_864a669886d8589b69da46fc523ffd71, $_3a16c5fe1a78b54b69e204ec07dcf670);
            return 1;
        }
        return 0;
    }
}