3

Netbeans for PHP v8.0.2 said to generate getter and setter methods just press Crtl + I (Mac OS) and select 'Getter & setter' option but it does not show up as an option in there. Anyone know how to activate this please?

Hung Bui
  • 313
  • 4
  • 17

1 Answers1

1

Just right click in side the class body,not over the class variables and choose insert code option as shown in third image. link:http://w.planetnetbeans.org/topic28565.html

getters and setters

generate option insert code option

sunil
  • 660
  • 8
  • 20