Hello,
what do you think about rewrite functionality of this library to OOP and use DummyClass instead of direct function calls?
I'm trying to write Symfony 2 Bundle over this library and this should lead to better extensibility and better usage in the future.
To have backwards compatibility it is possible to modify curret functions:
For example:
// dummy.php
$dummy = new DummyClass();
function dummy($a, $internalcall = false) {
global $dummy;
return $dummy->dummy($a, $internalcall)
}
I will try to do this in my fork, but I would like to have your opinion on this.
Regards,
Milan
Hello,
what do you think about rewrite functionality of this library to OOP and use DummyClass instead of direct function calls?
I'm trying to write Symfony 2 Bundle over this library and this should lead to better extensibility and better usage in the future.
To have backwards compatibility it is possible to modify curret functions:
For example:
I will try to do this in my fork, but I would like to have your opinion on this.
Regards,
Milan