<?php
namespace Claromentis\Console\Command;

$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"] ?: array()) + array("_ad1aed06007501c70707bf" . "c1ae0503b3" => base64_decode("VmVyaWZ5aW5nIGRhdGFiYXNlIHBlcm1pc3Npb2" . "5zLi4u"), "_9c28dd0a368" . "b73bb88a7f33" . "d2034cdbd" => base64_decode("Q2hlY2sgZGF0YWJhc2UgYXZhaWxh" . "YmlsaXR5IGFuZCBwZXJtaXNzaW9u" . "cw=="), "_3a3a28360ba716d72fd98b0557" . "85a108" => base64_decode("VmVyaWZ5aW5nIGRhdGFiYXNlIGNv" . "bm5lY3Rpb24uLi4="), "_edff35351def0f95de1a2e310f5d" . "0876" => base64_decode("RGF0YWJhc2UgcGVybWlzc2lvbnMgT0s" . "="), "_0979a8f8b184c" . "ace154b11ef1bf" . "00bcb" => base64_decode("RGF0YWJhc2UgY29ub" . "mVjdGlvbiBPSw=="));
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["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_9c28dd0" . "a368b73b" . "b88a7f33" . "d2034cdb" . "d"]);
    }
    
    
    
    
    
    
    
    
    protected function execute(InputInterface $_db34e0d240ded70491dbd8f19596a6cd, OutputInterface $_1078c0d5e533406287785a6c20cf7587)
    {
        $_864a669886d8589b69da46fc523ffd71 = $this->getIo($_db34e0d240ded70491dbd8f19596a6cd, $_1078c0d5e533406287785a6c20cf7587);
        $_6c7ab98652d4206500c9ed424f59a7ee = $this->getChecker();
        try {
            $_864a669886d8589b69da46fc523ffd71->text($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_3a3a28360ba716d72fd98b" . "055785a108"]);
            $_6c7ab98652d4206500c9ed424f59a7ee->verifyDatabaseConnection();
            $_864a669886d8589b69da46fc523ffd71->success($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_0979a8f8b184cace154b11" . "ef1bf00bcb"]);
            $_864a669886d8589b69da46fc523ffd71->text($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_ad1aed06007501c7" . "0707bfc1ae0503b3"]);
            $_6c7ab98652d4206500c9ed424f59a7ee->verifyDatabasePermissions();
            $_864a669886d8589b69da46fc523ffd71->success($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_edff35351def0f95de1a2e" . "310f5d0876"]);
        } catch (\Throwable $_3a16c5fe1a78b54b69e204ec07dcf670) {
            $this->error($_864a669886d8589b69da46fc523ffd71, $_3a16c5fe1a78b54b69e204ec07dcf670);
            return 1;
        }
        return 0;
    }
}