Is there no concise way, a library maybe, to help with unhooking class functions and so on?

Is there no concise way, a library maybe, to help with unhooking class functions and so on?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)