phpDocument和抽象方法
我用的是phpDocumentor phpDocumentor版本2.0.0a10`phpDocument和抽象方法,php,phpdoc,Php,Phpdoc,我用的是phpDocumentor phpDocumentor版本2.0.0a10` 并且有几个我正在记录的abstract类文档似乎包括那些抽象类es,但不包括抽象的方法我通常大量记录抽象方法,以解释契约以及我对如何在不同用例中实现契约的设想。phpdoc中是否有我缺少的一个设置,它将强制它记录这些设置?这就是使用适当的docblock时抽象类的外观 /** * login method * * Abstract method that must be implemented when * s
并且有几个我正在记录的
abstract
类文档似乎包括那些抽象类
es,但不包括抽象的方法
我通常大量记录抽象方法,以解释契约以及我对如何在不同用例中实现契约的设想。phpdoc中是否有我缺少的一个设置,它将强制它记录这些设置?这就是使用适当的docblock时抽象类的外观
/**
* login method
*
* Abstract method that must be implemented when
* sub-classing this class.
*
* @access public
* @return boolean
*/
abstract public function login($user, $password);
@sixeightzero
PHP5.3.13
,很想跳到5.4,我们的一些遗留代码中断:(谢谢。不幸的是,phpDocumentor没有包括我编写的文档,而不是我不知道如何编写文档。