How can I get something like this to work
$name = 'Config';
$static = $name . '::init()';
$static->test();
how can I access the test method from that setup?
I want to piece together a couple of variables to build up a dynamic singleton call.
so $name could be ‘Db’, ‘Array’ etc.
You could use call_user_func