I want to make a namespace for my Joomla components, but I can't find a clear example.
I want to declare multiple classes in my namespace and use autoloading.
namespacebas\xml namespacebas\db namespacebas\tools
Then I want to only have to put
use namespacebas\xml; at the top of my php file.
Can anyone help me with a simple example which I can easily customize to my needs?