In this section, we will learn to document functions, methods, classes, interfaces, global variables, constants, and so on, and discuss the benefits of using such a code documentation. As discussed earlier, in the collaborative development environment, the description of methods, classes, and so on, are very important to learn the intent of the code, and we will see that implemented practically in this section.
Now, create a new PHP project named
Chapter5 in NetBeans, and use it for all the following tutorials.
In this section, we will learn to use the NetBeans auto documentation feature at the beginning of a PHP function or method.