-
Notifications
You must be signed in to change notification settings - Fork 80
completes hasSomething & removeSomething methods on the Classgenerator #26
Changes from 1 commit
3dd06ba
b48dbaa
0928fb1
e35bf2d
c5e0012
554e98d
0751564
d515195
fb2353b
d36400b
ebe746f
4a5c385
ed190e1
2b14fd6
4db8842
09968b5
6e7f0c6
3304e2c
3e74da8
00d9fbe
801e093
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,7 @@ | |
/** | ||
* Class TraitUsageGenerator | ||
* | ||
* @todo rewrite $this->uses storage such that it easier to differentiate between the class and its alias for 3.0 | ||
* @todo pull this logic into ClassGenerator OR rename this class to UsageGenerator for 3.0 | ||
* | ||
* @deprecated Deprecated in 2.7. Use UsageGenerator instead | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't understand why this was changed, to be honest: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That is exactly why I believe t's name is too strict. The TraitUsageGenerator is being used to generate the use statements at the namespace level in addition to trait usage's. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SNAFU then :-( IMO, the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes. we should either acknowledge that the
|
||
* @package Zend\Code\Generator | ||
*/ | ||
class TraitUsageGenerator extends AbstractGenerator | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
namespace Zend\Code\Generator; | ||
|
||
class UsageGenerator extends TraitUsageGenerator | ||
{ | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a BC break