I\'ve seen questions like this and this, but neither addresses how to create a class instance from a string name if you already have a namespace and the class is in an aliased n
There is no other solution, class name variables need to contain the fully qualified class name; aliasing doesn't apply to string class names, and introspection can't help you either.