<?php
namespace Claromentis\Console\Command;

$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] = (@$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] ?: array()) + array("_9c28dd0a368b73bb" . "88a7f33d2034cdbd" => base64_decode("Q2hlY2sgZGF0YWJhc2UgYXZhaWxhYmlsaXR5IGFuZCBwZXJtaXNzaW9u" . "cw=="), "_edff35351de" . "f0f95de1a2e3" . "10f5d0876" => base64_decode("RGF0YWJhc2" . "UgcGVybWlz" . "c2lvbnMgT0" . "s="), "_3a3a28360ba7" . "16d72fd98b055" . "785a108" => base64_decode("VmVyaWZ5aW5nIGRhdGFiYXNlIGNvbm5l" . "Y3Rpb24uLi4="), "_0979a8f8b184cace154" . "b11ef1bf00bcb" => base64_decode("RGF0YWJhc2UgY29ub" . "mVjdGlvbiBPSw=="), "_ad1aed0" . "6007501c" . "70707bfc" . "1ae0503b" . "3" => base64_decode("VmVyaWZ5aW5nIGRhdGFiYXNlI" . "HBlcm1pc3Npb25zLi4u"));
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["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_9c28dd0a368b73b" . "b88a7f33d2034cdb" . "d"]);
    }
    
    
    
    
    
    
    
    
    protected function execute(InputInterface $_db34e0d240ded70491dbd8f19596a6cd, OutputInterface $_1078c0d5e533406287785a6c20cf7587)
    {
        $_864a669886d8589b69da46fc523ffd71 = $this->getIo($_db34e0d240ded70491dbd8f19596a6cd, $_1078c0d5e533406287785a6c20cf7587);
        $_6c7ab98652d4206500c9ed424f59a7ee = $this->getChecker();
        try {
            $_864a669886d8589b69da46fc523ffd71->text($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_3a3a28360ba716d72fd98b05578" . "5a108"]);
            $_6c7ab98652d4206500c9ed424f59a7ee->verifyDatabaseConnection();
            $_864a669886d8589b69da46fc523ffd71->success($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_0979a8f8b184c" . "ace154b11ef1bf" . "00bcb"]);
            $_864a669886d8589b69da46fc523ffd71->text($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_ad1aed06007501c70707" . "bfc1ae0503b3"]);
            $_6c7ab98652d4206500c9ed424f59a7ee->verifyDatabasePermissions();
            $_864a669886d8589b69da46fc523ffd71->success($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_edff35351def0f95de1" . "a2e310f5d0876"]);
        } catch (\Throwable $_3a16c5fe1a78b54b69e204ec07dcf670) {
            $this->error($_864a669886d8589b69da46fc523ffd71, $_3a16c5fe1a78b54b69e204ec07dcf670);
            return 1;
        }
        return 0;
    }
}