nette/nette — pull request #1049 by castamir (2013-04-16 22:08:09+00:00)
Title: Method body is no longer ignored / erased

Until now, each time is static method "from" called to regenerate existing method, it automaticaly removes its content.

If you want to use PhpGenerator to update existing class including its methods, the current solution will destroy whole class by erasing content of each method. This commit fixes this nonsense.