Hello,
I'm interested about using 2 different classes in 2 different environment. Both classes should share the same structure (methods), but the one used in production would be "light", with less verifications or less funtionnality or different actions.
Example: a SQL query class which doesn't check the type/existence of fields. Other example: a error handling class who logs and doesn't display messages.
I presume a specific design pattern already exists, but I don't really know which one I should digg into. Can someone give me a hint here please?
Thanks in advance for the anwser!