考虑以下PHP5类:classSomeClass{//Iwanttodocumentthisproperty...private$foo;function__construct(){}publicfunctionSetFoo($value){$this->foo=$value;}publicfunctionGetFoo(){return$this->foo;}}如何在phpDocumentor我会记录$foo属性吗?我什至不确定它是否需要记录在案,但我想知道如果需要...我知道如何记录SetFoo()和GetFoo(),我只是不确定私有(private)属性(变量?)。谢谢!
PHPDocumentor-what'swrongwithmyDocBlock?我在一些遗留代码中添加了一些注释,我遇到了PHPDocumentor的一个小问题。这是一个例子:1234567891011121314151617/** *ConstructstheWidgetobject * *Basicconstructorforthewidgetobject. *Anotherlineofpointlessexplanation,badlyworded. * *@param string $id TheIDofthewidget *@param int $size TheSizeoft
PHPDocumentor-what'swrongwithmyDocBlock?我在一些遗留代码中添加了一些注释,我遇到了PHPDocumentor的一个小问题。这是一个例子:1234567891011121314151617/** *ConstructstheWidgetobject * *Basicconstructorforthewidgetobject. *Anotherlineofpointlessexplanation,badlyworded. * *@param string $id TheIDofthewidget *@param int $size TheSizeoft