[Solved] Is It Possible to put one Try Catch block for all functions inside a Class in PHP [closed]


Based on your clarification from the comment, it seems you don’t need no try or catch. But exception handler instead.

Just have your 400+ methods have to throw 400+ exceptions – they all will be processed in one handler.

P.S. It seems most of SO folks cannot tell a negative answer from negative vote

2

solved Is It Possible to put one Try Catch block for all functions inside a Class in PHP [closed]