source/Internal/Common/Factory/ConnectionFactory.php
public static function get()
    {

        $database = DatabaseProvider::getDb();
        $r = new \ReflectionMethod(Database::class, 'getConnection');
        $r->setAccessible(true);

        return $r->invoke($database);
    }
public static function get()
    {

        $database = DatabaseProvider::getDb();
        $r = new \ReflectionMethod(Database::class, 'getConnection');
        $r->setAccessible(true);

        return $r->invoke($database);
    }
public static function get ( ) { $ database = DatabaseProvider :: getDb ( ) ; $ r = new \ ReflectionMethod ( Database :: class , 'getConnection' ) ; $ r -> setAccessible ( true ) ; return $ r -> invoke ( $ database ) ; }
Uses reflection to fetch the database connection from
the DatabaseProvider.

@return Connection
Uses reflection to fetch the database connection from the DatabaseProvider .