F1p / amazon-mws-php-fork

Automatically exported from code.google.com/p/amazon-mws-php-fork
Apache License 2.0
0 stars 0 forks source link

with* methods are magic properties and can be reduced via __call(). #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
with*($value) maps to set*($value) but returns instance of the model class.

It is much more straight forward to deprecate with* and wrap it in a __call() 
statement to reduce setter logic nearly by half.

Original issue reported on code.google.com by m...@phpkuh.de on 24 Aug 2011 at 7:25

GoogleCodeExporter commented 8 years ago
Abstracted get* isSet* and set* too. Prepared means to migrate convert*() 
methods from Client to corresponding request classes.

Original comment by m...@phpkuh.de on 26 Aug 2011 at 9:58