class Singleton {
...
static function get(){
return "ok";
}
}
function returnSingletonMethods(){
.... ?
}
echo returnSingletonMethods()::get(); // ok
function returnSingletonMethods(){
return Singleton::class;
}
returnSingletonMethods()::get();
use very\LongLong\SingletonName as S;
S()::get();