Extending Zend_Rest_Server to use namespaces

I’ve been building an API for a project I’m “secretly” working on, and I wanted to have a REST endpoint to consume some resources, I wanted to have my resources divided as follows


for instance:

I’m building this app using Zend Framework, I’ts not the first time i have to deal with Zend, but it was the first using the Rest Server component, and I was shock to find the setClass method did support the namespace, but it wasn’t being used, so I decided to roll out my own extending theirs