fabpot/Twig — pull request #832 by nick4fake (2012-09-09 13:45:47+00:00)
Title: postConstruct hook for generated template

This is very small change. I have not found any way to do this without changin the source. This commit adds small check for existance of method "postConstruct" in base template, so we can bind creation of child template.
Of cause, there is "parent::__construct" statement, but child template invokes parent's __construct method BEFORE creation of $this->parent.