Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Zend\Code\Generator\ClassGenerator can not generate final classes #7408

Merged
merged 3 commits into from
May 4, 2015

Conversation

will1471
Copy link
Contributor

@will1471 will1471 commented Apr 2, 2015

Zend\Code\Generator\ClassGenerator accepts a final flag, but does not generate code for final classes.

I've added a test and fix, I restricted the implementation to declaring the class either abstract or final, not both. (http://phpsadness.com/sad/41) Preference was given to abstract classes so as to not break any existing code that set both abstract and final flags.

@weierophinney weierophinney added this to the 2.4.1 milestone May 4, 2015
weierophinney added a commit that referenced this pull request May 4, 2015
Zend\Code\Generator\ClassGenerator can not generate final classes
weierophinney added a commit that referenced this pull request May 4, 2015
@weierophinney weierophinney merged commit 44aec46 into zendframework:master May 4, 2015
weierophinney added a commit that referenced this pull request May 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants