I have been looking into code event listeners which allows me to overwrite methods of instantiated objects. I am not so happy with that as I want the existing functionality to stay, but add more to it. I could copy paste the existing code into my own event listener, but that's ugly. I guess I could make a transparent class that overloads __get() and __call() but has an instance variable being the object passed to me. Then the transparent class can have a method I make. After calling it, it could call the original method.
Any better ideas?