Dynamic inheritance/implementation in PHP 5.*
- by Rolf
Hi everyone,
I'm implementing a Logger, based on a XML declaration (path to class, method name, custom log message). There is also a Logger interface that defines the function __call, the latter logs what's needed and then relays the call to the target method.
The only difficulty is to make each class, declared in the XML file, implement this…