If you don't want how inheritance dispatches method calls, maybe inheritance is the wrong way?
Just create a separate class that inherits nothing and has an object of your "real" class. Give that class an AUTOLOAD method. In that AUTOLOAD method, log the calls and then either dispatch to the "real" class instance or whatever.
In reply to Re: intercept nonexistent methods call
by Corion
in thread intercept nonexistent methods call
by Bor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |