When you call a class dynamically this way (e.g., with $class = "AdminController"; followed by new $class();), PHP looks it in the global namespace.
There are two ways of dynamically calling it-
Specify Hardcode Namespace "Base\AdminController" so PHP knows exactly which namespace to look in.
You can use NAMESPACE if you want to dynamically load any class within the same namespace