new Memory, 'mysql' => (new Mysql)->setUri('tcp://mariadb')->setUsername('MadelineProto')->setPassword('test'), 'postgres' => (new Postgres)->setUri('tcp://postgres')->setUsername('MadelineProto')->setPassword('test'), 'redis' => (new Redis)->setUri('redis://redis'), ]; $MadelineProto->updateSettings($map[$argv[1]]); var_dump($MadelineProto->getFullInfo('danogentili'));