I'm wondering what should be done in the case of needing Roles or Traits but in a classical inheritance environment. I have stemming of a class down two roads, both of which stem from a root class, however, I want to link the diverged classes on the two roads together to share the same functionality. See below:
+-- Base
+-- Base_Processor
| +-- Base_Processor_Request
| +-- Base_Processor_Request_Ajax
+-- Base_Impl
+-- Base_Impl_MyImpl
+-- Base_Impl_MyImpl_Processor (extends from Base_Processor)
+-- Base_Impl_MyImpl_Processor_Request (extends from ??)
+-- Base_Impl_MyImpl_Processor_Request_Ajax (extends from ??)
What would be the best way to link Base_Impl_MyImpl_Processor_Request and Base_Processor_Request together while still extending from Base_Impl_MyImpl_Processor, and also link Base_Impl_MyImpl_Processor_Request_Ajax in the same fashion.
Thanks in advanced.