zendframework / zend-code

BSD 3-Clause "New" or "Revised" License
1.68k stars 79 forks source link

Zend\Code\Reflection\FileReflection getBody() #141

Open BavoJanss opened 6 years ago

BavoJanss commented 6 years ago

When instantiating a Zend\Code\Generator\FileGenerator::fromReflection() one would expect ::generate to fully reconstruct any original file. Unfortunately Zend\Code\Reflection\FileReflection has no ::getBody method so any code outside classes is ignored.

weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-code; a new issue has been opened at https://github.com/laminas/laminas-code/issues/9.