Feature #10312

Autogenerate setters and getters

Added by Falk Kühnel about 11 years ago. Updated over 9 years ago.

Should have
Target version:
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
Has patch:


I like the synthesize functionality from objective-c to autogenerate setters and getters for properties.

Would you think it useful to have such a feature for properties in FLOW3? I would like to simply add a @synthesize comment to autogenerate setters and getters in the proxy class. No functions will be generated if the corresponding function already exists.

I personally would love that feature and it would help to have a much less cluttered code.


Updated by Sascha Egerer over 10 years ago

I don't like this idea. You will have no code completion in your IDE


Updated by Christian Müller over 9 years ago

  • Status changed from New to Rejected
  • Has patch set to No

Yep, just use your IDE to generate the getters and setters, then you benefit from code completion. If you don't like that at all you could create the functionality by AOP yourself, but we don't want to intergrate that into the core.

Also available in: Atom PDF