<?php
namespace Claromentis\Console\Command;

$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] ?: array()) + array("_3a3a28360ba716d72fd98b0557" . "85a108" => base64_decode("VmVyaWZ5aW5nIGRhdGF" . "iYXNlIGNvbm5lY3Rpb2" . "4uLi4="), "_edff35351def0f95de1a2e310f5d0" . "876" => base64_decode("RGF0YWJhc2UgcGVybWlzc2l" . "vbnMgT0s="), "_9c28dd0a368b73bb" . "88a7f33d2034cdbd" => base64_decode("Q2hlY2sgZGF0YWJhc2UgYXZhaWxhYmls" . "aXR5IGFuZCBwZXJtaXNzaW9ucw=="), "_0979a8f8" . "b184cace1" . "54b11ef1b" . "f00bcb" => base64_decode("RGF0YWJhc2U" . "gY29ubmVjdG" . "lvbiBPSw=="), "_ad1aed06007501c70707bfc" . "1ae0503b3" => base64_decode("VmVyaWZ5aW5nIGRhd" . "GFiYXNlIHBlcm1pc3" . "Npb25zLi4u"));
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"]["_9c28dd0a368b73bb" . "88a7f33d2034cdbd"]);
    }
    
    
    
    
    
    
    
    
    protected function execute(InputInterface $_db34e0d240ded70491dbd8f19596a6cd, OutputInterface $_1078c0d5e533406287785a6c20cf7587)
    {
        $_864a669886d8589b69da46fc523ffd71 = $this->getIo($_db34e0d240ded70491dbd8f19596a6cd, $_1078c0d5e533406287785a6c20cf7587);
        $_6c7ab98652d4206500c9ed424f59a7ee = $this->getChecker();
        try {
            $_864a669886d8589b69da46fc523ffd71->text($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_3a3a28360ba716d72fd98b" . "055785a108"]);
            $_6c7ab98652d4206500c9ed424f59a7ee->verifyDatabaseConnection();
            $_864a669886d8589b69da46fc523ffd71->success($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_0979a8f8b184cace154b11ef1bf" . "00bcb"]);
            $_864a669886d8589b69da46fc523ffd71->text($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_ad1aed06007501c70707bfc1ae" . "0503b3"]);
            $_6c7ab98652d4206500c9ed424f59a7ee->verifyDatabasePermissions();
            $_864a669886d8589b69da46fc523ffd71->success($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_edff35351def0f95de1a2e" . "310f5d0876"]);
        } catch (\Throwable $_3a16c5fe1a78b54b69e204ec07dcf670) {
            $this->error($_864a669886d8589b69da46fc523ffd71, $_3a16c5fe1a78b54b69e204ec07dcf670);
            return 1;
        }
        return 0;
    }
}