Home » Images » Image_Color » Bug #3095
class refactoring ...
Details
| Request #3095 | class refactoring ... |
|---|---|
| Submitted | 2005-01-04 16:20 UTC |
| From | mquinton at gmail dot com |
| Assigned | drewish |
| Status | Closed |
| Package | Image_Color |
| PHP Version | Irrelevant |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-01-04 16:20 UTC] mquinton at gmail dot com
Description:
------------
this class uses 2 internals attributes : $color1, $color2 and is not very usable. This task is not very hard.
But the difficulty could be to be compatible with previous versions of this class.
[2005-09-11 05:04 UTC] drewish at php dot net
I agree it's pretty wanky. I've proposed an Image_Color2 package that, I think, is a bit more useable. I don't think Image_Color will be changing too much.
[2005-09-11 05:06 UTC] drewish at php dot net
Sorry, I forgot to mention the main reason for it not changing is backwards compatibility.