Generating model methods as code instead of phpdoc because Symfony needs real getters