CodeAnnotations have been written all the time, but they always do not comply with the rules and do not want to write documents. This is troublesome. Take some time to edit the PHP code template in eclipse for PHP developer, according to the Zend framework annotation rules, paste some notes for your own compliance. The habit of writing comments must be developed to make it easier for others.
0. Copyright notes for codes. The company has defined copyrights. All edited templates are accompanied
1. Uses category package copyright license is used for class annotations.
2. Single Row comment see
3. Single Row comment //
4. Single line comment /*
5. Use @ link to introduce
6. Use the <code> </code> label to comment out the method
7. Return an object type
Finally, you can refer to the PHP annotation specification documentation. It is necessary to install the phpjavasentor.
Http://www.laruence.com/2009/04/21/680.html