PHP Code:
$db self::$var1;
$coll self::$var2;
$rDb self::$var3;
        
$m->$db->$coll->find(); 
As you can see I'm using the variables in the object $m; I first have to re-assign the static variables, as the self::$var can't be used in an object. Any ideas on a cleaner way to get around this?