![]() |
| Question about leaving PHPDoc comments |
|
Site Admin
|
You may want to check this manual page http://www.php.net/language.oop5.reflection to see how phpdoc is used with reflection, then decide if it's what you need to keep on or off when you encode your files.
Regarding PhpED and debugger, this feature has absolutely no effect. |
||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||
|
Hey dmitri, thanks for the reply. After posting my original question I did make it over the the Reflection manual, and it looks to me like the only method that uses the doc block is getDocComment(). Do you (or anyone else) know of any other method besides this one to look out for?
So I guess I should refine my question to this - since I don't use getDocComment() in any of my application, is it safe to strip the doc blocks? Thanks again for advising a total newbie to this whole process! |
||||||||||||
|
|
|||||||||||||
|
Site Admin
|
It is safe to strip phpdocs even if you use that method. It will work as if no phpdocs did not appear in your code. In other words an empty string will be returned. |
||||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||||
|
Great - thank you!
|
||||||||||||
|
|
|||||||||||||
| Question about leaving PHPDoc comments |
|
||
|
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by


RSS2 Feed