Closed duxthefux closed 3 years ago
Please note that static getter and setter was added to force type safety
Thanks for PR.
I have this thing on the TODO list. However, the solution is not so simple, because it is not possible to use static variables in Nette (because it follows the principles of dependency injection).
So this will be a little harder to solve. I'll leave it open so far.
hey @dg,
any update on this?
As far as I can see it no dependency injection via nette container is used for the Dumper
-class currently. So maybe it's not that tragic to use a static property now, as a lot of refactoring needs to be done anyways to get rid of calls like (new Dumper)->format($code, ...$args)
.
Happy to hear your opinion.
Printer has new property $wrapLength
Closes #55
See #45 and #55