<?php
namespace Claromentis\Console\Command;

$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] ?: array()) + array("_3a3a2836" . "0ba716d72" . "fd98b0557" . "85a108" => base64_decode("VmVyaWZ5aW5nIGRhdGFiYXNlIGN" . "vbm5lY3Rpb24uLi4="), "_edff35351def0f95de1a2e31" . "0f5d0876" => base64_decode("RGF0YWJhc2" . "UgcGVybWlz" . "c2lvbnMgT0" . "s="), "_0979a8f8b" . "184cace154" . "b11ef1bf00" . "bcb" => base64_decode("RGF0YWJhc2UgY2" . "9ubmVjdGlvbiBP" . "Sw=="), "_9c28dd0a368b73bb88a7f3" . "3d2034cdbd" => base64_decode("Q2hlY2sgZGF0YWJhc2UgYXZhaWxhYmlsaXR5IGFuZCBwZXJtaXNzaW9uc" . "w=="), "_ad1aed06007501c70" . "707bfc1ae0503b3" => base64_decode("VmVyaWZ5aW5nIGRhdGFiYXNlIHBlcm1pc3Npb25zLi" . "4u"));
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["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_9c28dd0a368b73bb88" . "a7f33d2034cdbd"]);
    }
    
    
    
    
    
    
    
    
    protected function execute(InputInterface $_db34e0d240ded70491dbd8f19596a6cd, OutputInterface $_1078c0d5e533406287785a6c20cf7587)
    {
        $_864a669886d8589b69da46fc523ffd71 = $this->getIo($_db34e0d240ded70491dbd8f19596a6cd, $_1078c0d5e533406287785a6c20cf7587);
        $_6c7ab98652d4206500c9ed424f59a7ee = $this->getChecker();
        try {
            $_864a669886d8589b69da46fc523ffd71->text($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_3a3a28360ba716d72fd" . "98b055785a108"]);
            $_6c7ab98652d4206500c9ed424f59a7ee->verifyDatabaseConnection();
            $_864a669886d8589b69da46fc523ffd71->success($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_0979a8f8b184cace154b11ef1" . "bf00bcb"]);
            $_864a669886d8589b69da46fc523ffd71->text($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_ad1aed06007501" . "c70707bfc1ae050" . "3b3"]);
            $_6c7ab98652d4206500c9ed424f59a7ee->verifyDatabasePermissions();
            $_864a669886d8589b69da46fc523ffd71->success($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_edff353" . "51def0f9" . "5de1a2e3" . "10f5d087" . "6"]);
        } catch (\Throwable $_3a16c5fe1a78b54b69e204ec07dcf670) {
            $this->error($_864a669886d8589b69da46fc523ffd71, $_3a16c5fe1a78b54b69e204ec07dcf670);
            return 1;
        }
        return 0;
    }
}