First: If you use "_" or "\" (a namespace delimiter), this should not affect your decision about how you comment on your classes. The underscore "_" occurs from age to the namespace and acts as a namespace delimiter, except that it does not create a namespace. Therefore, "My_Controller_Action" should be considered as "Action" in "My_Controller".
However, how you use @package and / or @subpackage is really your solution. For example, I donβt use @category at all, and @subpackage is all after the βsecondβ namespace. Let me explain: I follow the PSR-0 standard, where the package is structured in \<Vendorname>\<packagename>\<subpackage>\... (or "_" instead of "\", depending on version). Then @package <vendorname>.<package> and @subpackage <subpackage> .
Conclusion: it is up to you :). A document can carry various structures of your code, depending on the tags you use and how you use them. Just try it.
King crunch
source share