我正在使用phpDocumentor
phpDocumentor 2.0.0a10`
并且有几个我正在记录的CCD_ 1类文档似乎包括那些abstract class
,但不包括属于abstract
的方法我通常大量记录抽象方法,以解释合同以及我对如何在不同用例中实现合同的愿景。我在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);