I am writing an application where I route my methods from my application to a sevice and then to the models of Doctrine. But the server of the service is not allowing more than one class to be included. So I need to write a proxy class for all my models of the tables that have been generated by doctrine. I knw a solution that, i can have each and every method of all the classes be defined in the proxy class, so that i can include that proxy class in the server (of the service) and call my methods through the proxy class. But i guess its not a feasible method. Coz my proxy class will become huge. I need a solution where i have lesser methods in my proxy class.
My methods for every class are mostly common like
fetch()
delete()
update()
insert()
for now i m differentiating them by appending the classname viz.
Employee_fetch()
Student_fetch()
is it possible to have a better solution than this??