ZF-7645: Zend_CodeGenerator_Php_Class assumes that Zend_Reflection_Class is always a class. So it is not possible to generate an interface.
Description
The problem is that Zend_CodeGenerator assumes that Zend_Reflection_Class is always a class not an interface. If you try to generate an interface with Zend_CodeGenerator_File parsed via Zend_Reflection_File you will encounter some problems.
Zend_CodeGenerator_File::fromReflection() does not set the filename. I think
following the line with
will fix that.
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2012-05-29T15:05:47.000+0000
Accidentally closed