Configure NetBeans PHP getter / setter

I am using Netbeans for PHP code. When I use the generator for the getter and setter methods in the class, the functions are called

get_something() set_something() 

How can I generate functions in the case of a camel:

 getSomething() setSomething() 
+4
source share
1 answer

What version of Netbeans are you using?

In 6.9, if you go Source -> Insert Code -> Getter.../Setter... , there is a drop-down list for the method name. There you can choose a camel case or use underscores.

+2
source

Source: https://habr.com/ru/post/1316584/


All Articles