I\'m trying to add methods dynamically from external files. Right now I have __call method in my class so when i call the method I want, __call inc
__call
You cannot dynamically add methods to a class at runtime, period.* PHP simply isn't a very duck-punchable language.
* Without ugly hacks.